Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.234/1.234, allocations: 249.4 MB / 256.7 MB, free: 7.039 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.0009839/0.0009839, allocations: 188.3 kB / 316 MB, free: 3.562 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.097/1.097, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0008357/0.0008357, allocations: 93.45 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3284/0.3292, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.478, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6659/1.144, allocations: 355.7 MB / 1.232 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/1.144, allocations: 88.2 kB / 1.232 GB, free: 14.76 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.02211/1.166, allocations: 9.333 MB / 1.241 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/1.166, allocations: 12 kB / 1.241 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/1.167, allocations: 23.72 kB / 1.241 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/1.167, allocations: 242.9 kB / 1.241 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/1.167, allocations: 0 / 1.241 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/1.167, allocations: 4 kB / 1.241 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000138/1.167, allocations: 63.92 kB / 1.242 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/1.167, allocations: 112.2 kB / 1.242 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/1.167, allocations: 0 / 1.242 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/1.167, allocations: 3.938 kB / 1.242 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/1.167, allocations: 19.17 kB / 1.242 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/1.168, allocations: 423.6 kB / 1.242 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/1.168, allocations: 121.6 kB / 1.242 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/1.168, allocations: 79.94 kB / 1.242 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/1.168, allocations: 4 kB / 1.242 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/1.168, allocations: 33.88 kB / 1.242 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/1.168, allocations: 4 kB / 1.242 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0005528/1.169, allocations: 193.7 kB / 1.242 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/1.169, allocations: 51.41 kB / 1.243 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/1.169, allocations: 177.3 kB / 1.243 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/1.169, allocations: 25.7 kB / 1.243 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/1.169, allocations: 106.6 kB / 1.243 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/1.169, allocations: 39.05 kB / 1.243 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/1.169, allocations: 0 / 1.243 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.169, allocations: 332.2 kB / 1.243 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/1.17, allocations: 51.09 kB / 1.243 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/1.17, allocations: 40.17 kB / 1.243 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/1.17, allocations: 86.91 kB / 1.243 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.17, allocations: 0 / 1.243 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004495/1.17, allocations: 201.7 kB / 1.244 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.17, allocations: 4 kB / 1.244 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.17, allocations: 4 kB / 1.244 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/1.17, allocations: 4 kB / 1.244 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/1.171, allocations: 39.91 kB / 1.244 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/1.171, allocations: 0 / 1.244 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/1.171, allocations: 23.97 kB / 1.244 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/1.171, allocations: 8 kB / 1.244 GB, free: 4.898 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 (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 prepare postOptimizeDAE: time 9.619e-05/1.171, allocations: 108.8 kB / 1.244 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/1.171, allocations: 15.81 kB / 1.244 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/1.171, allocations: 31.2 kB / 1.244 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/1.171, allocations: 0 / 1.244 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.171, allocations: 3.906 kB / 1.244 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.171, allocations: 4 kB / 1.244 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/1.171, allocations: 225.1 kB / 1.244 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.171, allocations: 0 / 1.244 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/1.172, allocations: 51.73 kB / 1.244 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/1.172, allocations: 4 kB / 1.244 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/1.172, allocations: 3.984 kB / 1.244 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.172, allocations: 4 kB / 1.244 GB, free: 4.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.172, allocations: 0 / 1.244 GB, free: 4.453 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005347/1.172, allocations: 292.7 kB / 1.244 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006621/1.173, allocations: 0.6672 MB / 1.245 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/1.173, allocations: 108.6 kB / 1.245 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/1.173, allocations: 0 / 1.245 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/1.173, allocations: 15.98 kB / 1.245 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/1.173, allocations: 11.3 kB / 1.245 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/1.173, allocations: 7.984 kB / 1.245 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001034/1.174, allocations: 145 kB / 1.245 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008212/1.174, allocations: 39.19 kB / 1.245 GB, free: 3.23 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.0002544/1.175, allocations: 153 kB / 1.245 GB, free: 3.074 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002315/1.175, allocations: 115.6 kB / 1.246 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.175, allocations: 4 kB / 1.246 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/1.175, allocations: 70.47 kB / 1.246 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/1.175, allocations: 24.09 kB / 1.246 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/1.176, allocations: 226.6 kB / 1.246 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/1.176, allocations: 0.7541 MB / 1.247 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of SimCode: time 3e-07/1.176, allocations: 0 / 1.247 GB, free: 1.922 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)