Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.954/2.954, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001628/0.001628, allocations: 189.2 kB / 360.3 MB, free: 7.52 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.939/1.939, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.00126/0.00126, allocations: 90.91 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3174/0.3187, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6899/1.009, allocations: 115.2 MB / 0.9627 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9671/1.976, allocations: 363.3 MB / 1.318 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004388/1.976, allocations: 82.39 kB / 1.318 GB, free: 186.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0499/2.026, allocations: 11.93 MB / 1.329 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/2.026, allocations: 8 kB / 1.329 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/2.028, allocations: 164.6 kB / 1.329 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/2.029, allocations: 336 kB / 1.33 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/2.029, allocations: 2.781 kB / 1.33 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/2.03, allocations: 5.688 kB / 1.33 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000524/2.03, allocations: 142.4 kB / 1.33 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/2.03, allocations: 143.8 kB / 1.33 GB, free: 184 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/2.031, allocations: 0 / 1.33 GB, free: 184 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/2.031, allocations: 0 / 1.33 GB, free: 184 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/2.031, allocations: 6.875 kB / 1.33 GB, free: 184 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/2.032, allocations: 0.5496 MB / 1.331 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/2.033, allocations: 97.3 kB / 1.331 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/2.033, allocations: 84.59 kB / 1.331 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009818/2.034, allocations: 0.5197 MB / 1.331 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/2.034, allocations: 31.38 kB / 1.331 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.885e-06/2.034, allocations: 0 / 1.331 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.006927/2.041, allocations: 0.507 MB / 1.332 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/2.041, allocations: 52.78 kB / 1.332 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/2.041, allocations: 213.6 kB / 1.332 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/2.041, allocations: 25.7 kB / 1.332 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/2.042, allocations: 121.1 kB / 1.332 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/2.042, allocations: 40.45 kB / 1.332 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/2.042, allocations: 3.938 kB / 1.332 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.636e-05/2.042, allocations: 344 kB / 1.333 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/2.042, allocations: 71.08 kB / 1.333 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/2.042, allocations: 73.11 kB / 1.333 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01731/2.06, allocations: 0.9004 MB / 1.334 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/2.06, allocations: 0 / 1.334 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.01738/2.077, allocations: 1.053 MB / 1.335 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/2.077, allocations: 5.719 kB / 1.335 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/2.077, allocations: 0 / 1.335 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/2.077, allocations: 0 / 1.335 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009429/2.078, allocations: 95.84 kB / 1.335 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/2.078, allocations: 3.062 kB / 1.335 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/2.079, allocations: 70.09 kB / 1.335 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/2.079, allocations: 2.906 kB / 1.335 GB, free: 181.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/2.079, allocations: 116.2 kB / 1.335 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-05/2.079, allocations: 26.19 kB / 1.335 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009739/2.089, allocations: 0.5256 MB / 1.335 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/2.089, allocations: 0 / 1.335 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/2.089, allocations: 7.938 kB / 1.335 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/2.089, allocations: 0 / 1.335 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008686/2.09, allocations: 282.6 kB / 1.336 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/2.09, allocations: 0 / 1.336 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/2.091, allocations: 79.45 kB / 1.336 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/2.091, allocations: 0 / 1.336 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.05e-05/2.091, allocations: 6.766 kB / 1.336 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/2.091, allocations: 4 kB / 1.336 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/2.092, allocations: 1.25 kB / 1.336 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01114/2.103, allocations: 0.6008 MB / 1.336 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006729/2.109, allocations: 0.9714 MB / 1.337 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/2.11, allocations: 127.3 kB / 1.337 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/2.11, allocations: 4 kB / 1.337 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/2.111, allocations: 52.92 kB / 1.337 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/2.111, allocations: 16.84 kB / 1.337 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/2.111, allocations: 10.7 kB / 1.337 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000245/2.111, allocations: 173.1 kB / 1.338 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001574/2.113, allocations: 82.55 kB / 1.338 GB, free: 179.4 MB / 0.8542 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 (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005125/2.113, allocations: 182.9 kB / 1.338 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006969/2.114, allocations: 183 kB / 1.338 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/2.114, allocations: 0 / 1.338 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/2.114, allocations: 96.09 kB / 1.338 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/2.115, allocations: 26.64 kB / 1.338 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/2.116, allocations: 297.3 kB / 1.338 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004891/2.117, allocations: 0.7896 MB / 1.339 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.262e-06/2.117, allocations: 0.75 kB / 1.339 GB, free: 178.4 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)