Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.387/2.387, allocations: 284.8 MB / 292.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001614/0.001613, allocations: 181.2 kB / 360.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.1 MB / 0.6187 GB, free: 13.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001268/0.001267, allocations: 81.14 kB / 0.7317 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.289/0.2903, allocations: 121.4 MB / 0.8502 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6805/0.9708, allocations: 115.2 MB / 0.9627 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2441/1.215, allocations: 142.5 MB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/1.215, allocations: 89.48 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.03426/1.25, allocations: 6.986 MB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.25, allocations: 8.5 kB / 1.109 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/1.25, allocations: 55.34 kB / 1.109 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/1.251, allocations: 319.7 kB / 1.109 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/1.251, allocations: 8 kB / 1.109 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/1.251, allocations: 20 kB / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007507/1.252, allocations: 217.5 kB / 1.109 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009169/1.252, allocations: 308.6 kB / 1.11 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/1.253, allocations: 0.6562 kB / 1.11 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/1.253, allocations: 3.906 kB / 1.11 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/1.253, allocations: 8 kB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005703/1.258, allocations: 1.393 MB / 1.111 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/1.26, allocations: 228.5 kB / 1.111 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/1.261, allocations: 167 kB / 1.111 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.313e-05/1.261, allocations: 4.219 kB / 1.111 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.351e-05/1.261, allocations: 40.58 kB / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 5.5e-06/1.261, allocations: 0 / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.002901/1.264, allocations: 384.5 kB / 1.112 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/1.264, allocations: 55.41 kB / 1.112 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/1.265, allocations: 247.5 kB / 1.112 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.71e-05/1.265, allocations: 29.64 kB / 1.112 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/1.265, allocations: 191.9 kB / 1.112 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/1.266, allocations: 82.75 kB / 1.112 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/1.266, allocations: 0 / 1.112 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002623/1.266, allocations: 350.7 kB / 1.113 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/1.266, allocations: 76.56 kB / 1.113 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/1.267, allocations: 135.7 kB / 1.113 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/1.267, allocations: 104.7 kB / 1.113 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.267, allocations: 0 / 1.113 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002956/1.27, allocations: 409.7 kB / 1.113 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004072/1.271, allocations: 0.5332 MB / 1.114 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.271, allocations: 0 / 1.114 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002847/1.274, allocations: 170 kB / 1.114 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/1.274, allocations: 39.98 kB / 1.114 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/1.276, allocations: 0.838 MB / 1.115 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/1.277, allocations: 27.77 kB / 1.115 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/1.277, allocations: 12 kB / 1.115 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.277, allocations: 4 kB / 1.115 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001704/1.279, allocations: 368.6 kB / 1.115 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.279, allocations: 0 / 1.115 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/1.28, allocations: 182 kB / 1.116 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/1.28, allocations: 39.73 kB / 1.116 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/1.286, allocations: 2.233 MB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/1.287, allocations: 35.89 kB / 1.118 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/1.287, allocations: 8 kB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001777/1.287, allocations: 118.8 kB / 1.118 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.287, allocations: 31.62 kB / 1.118 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/1.287, allocations: 43.84 kB / 1.118 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.287, allocations: 4 kB / 1.118 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.287, allocations: 1.625 kB / 1.118 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.287, allocations: 7.984 kB / 1.118 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000686/1.288, allocations: 358.1 kB / 1.118 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.288, allocations: 0 / 1.118 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/1.288, allocations: 31.97 kB / 1.118 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/1.289, allocations: 171.4 kB / 1.119 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/1.289, allocations: 3.906 kB / 1.119 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005476/1.295, allocations: 2.22 MB / 1.121 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.295, allocations: 4.062 kB / 1.121 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001779/1.297, allocations: 484.8 kB / 1.121 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001896/1.299, allocations: 0.8528 MB / 1.122 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/1.299, allocations: 140.5 kB / 1.122 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/1.299, allocations: 0 / 1.122 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/1.3, allocations: 12 kB / 1.122 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/1.3, allocations: 11.97 kB / 1.122 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/1.3, allocations: 12 kB / 1.122 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003325/1.3, allocations: 195.1 kB / 1.122 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002611/1.303, allocations: 199.3 kB / 1.123 GB, free: 8.586 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002095/1.303, allocations: 99.25 kB / 1.123 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001824/1.305, allocations: 0.5116 MB / 1.123 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.305, allocations: 4 kB / 1.123 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007667/1.305, allocations: 257.5 kB / 1.123 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/1.306, allocations: 61.66 kB / 1.124 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/1.308, allocations: 485.4 kB / 1.124 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007339/1.309, allocations: 0.8307 MB / 1.125 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of SimCode: time 2.385e-06/1.309, allocations: 3.938 kB / 1.125 GB, free: 6.27 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)