Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.356/1.356, allocations: 285.5 MB / 292.8 MB, free: 10.38 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.00118/0.00118, allocations: 181.3 kB / 361.1 MB, free: 7.055 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.088/1.088, allocations: 205.1 MB / 0.6195 GB, free: 11.89 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.0007792/0.0007792, allocations: 86.11 kB / 0.7325 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1954/0.1962, allocations: 121.5 MB / 0.8512 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4649/0.6612, allocations: 115.3 MB / 0.9638 GB, free: 77.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6275/1.289, allocations: 363.5 MB / 1.319 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/1.289, allocations: 83.53 kB / 1.319 GB, free: 203.6 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.02648/1.315, allocations: 11.92 MB / 1.33 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.316, allocations: 8 kB / 1.33 GB, free: 193.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007285/1.316, allocations: 155.5 kB / 1.331 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/1.317, allocations: 347.2 kB / 1.331 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/1.317, allocations: 0 / 1.331 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/1.317, allocations: 8.875 kB / 1.331 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002534/1.317, allocations: 134.4 kB / 1.331 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/1.318, allocations: 141.3 kB / 1.331 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/1.318, allocations: 8 kB / 1.331 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/1.318, allocations: 2.188 kB / 1.331 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/1.318, allocations: 3.906 kB / 1.331 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009563/1.319, allocations: 0.5571 MB / 1.332 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/1.319, allocations: 95.25 kB / 1.332 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/1.319, allocations: 85.28 kB / 1.332 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000527/1.319, allocations: 0.5135 MB / 1.332 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/1.32, allocations: 40.11 kB / 1.332 GB, free: 191.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/1.32, allocations: 0 / 1.332 GB, free: 191.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.003141/1.323, allocations: 0.4991 MB / 1.333 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.524e-05/1.323, allocations: 51.41 kB / 1.333 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/1.323, allocations: 217.1 kB / 1.333 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/1.323, allocations: 26.45 kB / 1.333 GB, free: 191.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/1.323, allocations: 123.9 kB / 1.333 GB, free: 191 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/1.323, allocations: 35.08 kB / 1.333 GB, free: 191 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/1.323, allocations: 3.938 kB / 1.333 GB, free: 191 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.374e-05/1.323, allocations: 344.8 kB / 1.334 GB, free: 190.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/1.323, allocations: 71.36 kB / 1.334 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/1.323, allocations: 74.3 kB / 1.334 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/1.331, allocations: 0.9047 MB / 1.335 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.331, allocations: 0.75 kB / 1.335 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.008044/1.339, allocations: 1.048 MB / 1.336 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.339, allocations: 4 kB / 1.336 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.339, allocations: 5.562 kB / 1.336 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.339, allocations: 0 / 1.336 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/1.34, allocations: 83.92 kB / 1.336 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.34, allocations: 7.984 kB / 1.336 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/1.34, allocations: 63.8 kB / 1.336 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/1.34, allocations: 12.3 kB / 1.336 GB, free: 188.6 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 8.381e-05/1.34, allocations: 116.6 kB / 1.336 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/1.34, allocations: 19.72 kB / 1.336 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/1.344, allocations: 0.5291 MB / 1.337 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.344, allocations: 4 kB / 1.337 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.344, allocations: 3.906 kB / 1.337 GB, free: 188 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.344, allocations: 0 / 1.337 GB, free: 188 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/1.344, allocations: 276.7 kB / 1.337 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.344, allocations: 0.875 kB / 1.337 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/1.344, allocations: 87.86 kB / 1.337 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.344, allocations: 0.75 kB / 1.337 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/1.344, allocations: 3.984 kB / 1.337 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.344, allocations: 0 / 1.337 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.344, allocations: 0 / 1.337 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003084/1.347, allocations: 0.603 MB / 1.338 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003088/1.351, allocations: 0.9771 MB / 1.338 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-05/1.351, allocations: 126.6 kB / 1.339 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/1.351, allocations: 0 / 1.339 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/1.351, allocations: 52.89 kB / 1.339 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/1.351, allocations: 23.47 kB / 1.339 GB, free: 186 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/1.351, allocations: 15.55 kB / 1.339 GB, free: 186 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001083/1.351, allocations: 167.1 kB / 1.339 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008934/1.352, allocations: 82.64 kB / 1.339 GB, free: 185.8 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.0002512/1.352, allocations: 186.3 kB / 1.339 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003149/1.353, allocations: 179.5 kB / 1.339 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.353, allocations: 0 / 1.339 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/1.353, allocations: 96.72 kB / 1.339 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/1.353, allocations: 29.42 kB / 1.339 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/1.354, allocations: 298.6 kB / 1.34 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/1.354, allocations: 0.7817 MB / 1.34 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/1.354, allocations: 4 kB / 1.34 GB, free: 184.4 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)