Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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 7.0.3-maint.7.0.x/package.mo): time 1.227/1.227, allocations: 249.4 MB / 256.7 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009964/0.0009963, allocations: 184.6 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.104/1.104, allocations: 205.2 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008452/0.0008454, allocations: 101.5 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3209/0.3218, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.4842, allocations: 106.4 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6307/1.115, allocations: 356.3 MB / 1.233 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/1.115, allocations: 89.25 kB / 1.233 GB, free: 13.81 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.02607/1.141, allocations: 10.92 MB / 1.243 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/1.141, allocations: 12.19 kB / 1.243 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/1.141, allocations: 27.72 kB / 1.243 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/1.142, allocations: 284.8 kB / 1.244 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/1.142, allocations: 4 kB / 1.244 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/1.142, allocations: 4 kB / 1.244 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001998/1.142, allocations: 100.9 kB / 1.244 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/1.143, allocations: 111.2 kB / 1.244 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/1.143, allocations: 0 / 1.244 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/1.143, allocations: 0 / 1.244 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/1.143, allocations: 4 kB / 1.244 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/1.143, allocations: 462.6 kB / 1.244 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/1.144, allocations: 79 kB / 1.244 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-05/1.144, allocations: 58.41 kB / 1.244 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/1.144, allocations: 0.5139 MB / 1.245 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/1.144, allocations: 38.56 kB / 1.245 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/1.144, allocations: 0 / 1.245 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.003146/1.147, allocations: 456.6 kB / 1.245 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/1.147, allocations: 55.39 kB / 1.245 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/1.148, allocations: 188.7 kB / 1.246 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/1.148, allocations: 25.7 kB / 1.246 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/1.148, allocations: 111.3 kB / 1.246 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/1.148, allocations: 35.3 kB / 1.246 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/1.148, allocations: 0 / 1.246 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/1.148, allocations: 343.7 kB / 1.246 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/1.148, allocations: 50.17 kB / 1.246 GB, free: 1.984 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/1.148, allocations: 44.09 kB / 1.246 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/1.151, allocations: 358 kB / 1.247 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.151, allocations: 0 / 1.247 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.003002/1.154, allocations: 463.7 kB / 1.247 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.154, allocations: 4 kB / 1.247 GB, free: 1.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.154, allocations: 3.984 kB / 1.247 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.154, allocations: 4 kB / 1.247 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/1.154, allocations: 59.94 kB / 1.247 GB, free: 1.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/1.154, allocations: 3.938 kB / 1.247 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/1.155, allocations: 43.88 kB / 1.247 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/1.155, allocations: 3.984 kB / 1.247 GB, free: 1.117 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 (11): * Single equations (assignments): 11 * 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 7.99e-05/1.155, allocations: 116.9 kB / 1.247 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/1.155, allocations: 19.72 kB / 1.247 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/1.158, allocations: 483.5 kB / 1.248 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.158, allocations: 3.906 kB / 1.248 GB, free: 0.5508 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.158, allocations: 3.938 kB / 1.248 GB, free: 0.5469 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.158, allocations: 4 kB / 1.248 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/1.158, allocations: 246.5 kB / 1.248 GB, free: 308 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.158, allocations: 0 / 1.248 GB, free: 308 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/1.159, allocations: 63.88 kB / 1.248 GB, free: 244 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.159, allocations: 0 / 1.248 GB, free: 244 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/1.159, allocations: 4 kB / 1.248 GB, free: 240 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.159, allocations: 0 / 1.248 GB, free: 240 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.159, allocations: 7.938 kB / 1.248 GB, free: 232 kB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3126/1.471, allocations: 0.5472 MB / 1.249 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003132/1.474, allocations: 0.9263 MB / 1.249 GB, free: 235.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.957e-05/1.475, allocations: 110.2 kB / 1.25 GB, free: 235 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/1.475, allocations: 6.125 kB / 1.25 GB, free: 235 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/1.475, allocations: 45.42 kB / 1.25 GB, free: 235 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/1.475, allocations: 13.23 kB / 1.25 GB, free: 235 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/1.475, allocations: 6.172 kB / 1.25 GB, free: 235 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001107/1.475, allocations: 152 kB / 1.25 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008996/1.476, allocations: 80.53 kB / 1.25 GB, free: 234.9 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 (11): * Single equations (assignments): 11 * 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.0002683/1.476, allocations: 183.1 kB / 1.25 GB, free: 234.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002435/1.477, allocations: 113.8 kB / 1.25 GB, free: 234.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.477, allocations: 0 / 1.25 GB, free: 234.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/1.477, allocations: 69.78 kB / 1.25 GB, free: 234.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/1.477, allocations: 23.81 kB / 1.25 GB, free: 234.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/1.478, allocations: 243.8 kB / 1.25 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/1.478, allocations: 0.7626 MB / 1.251 GB, free: 234 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/1.478, allocations: 0 / 1.251 GB, free: 234 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)