Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 188 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4782/0.4782, allocations: 90.85 MB / 99.08 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.4 MB / 342.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009735/0.0009732, allocations: 91.23 kB / 415.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1611/0.1621, allocations: 78.44 MB / 493.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.4866, allocations: 72.3 MB / 0.553 GB, free: 44.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.6045, allocations: 101.4 MB / 0.6519 GB, free: 7.266 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.6048, allocations: 72.45 kB / 0.652 GB, free: 7.195 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00609/0.6109, allocations: 2.038 MB / 0.654 GB, free: 5.121 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.611, allocations: 8 kB / 0.654 GB, free: 5.113 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.611, allocations: 15.81 kB / 0.654 GB, free: 5.098 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.6113, allocations: 202.8 kB / 0.6542 GB, free: 4.859 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.6113, allocations: 0 / 0.6542 GB, free: 4.859 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.6113, allocations: 4 kB / 0.6542 GB, free: 4.855 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001543/0.6115, allocations: 59.98 kB / 0.6543 GB, free: 4.797 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.6116, allocations: 87.3 kB / 0.6544 GB, free: 4.699 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.6117, allocations: 9.203 kB / 0.6544 GB, free: 4.691 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.6117, allocations: 3.938 kB / 0.6544 GB, free: 4.688 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.6117, allocations: 4 kB / 0.6544 GB, free: 4.684 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007238/0.6124, allocations: 449.2 kB / 0.6548 GB, free: 4.203 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.6127, allocations: 109.4 kB / 0.6549 GB, free: 4.078 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.081e-05/0.6128, allocations: 37.72 kB / 0.655 GB, free: 4.035 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.6129, allocations: 8 kB / 0.655 GB, free: 4.027 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.6129, allocations: 30.56 kB / 0.655 GB, free: 3.988 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.6129, allocations: 0 / 0.655 GB, free: 3.988 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003228/0.6132, allocations: 101.5 kB / 0.6551 GB, free: 3.883 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.6133, allocations: 77.11 kB / 0.6552 GB, free: 3.789 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.6135, allocations: 148 kB / 0.6553 GB, free: 3.633 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.6135, allocations: 25.7 kB / 0.6553 GB, free: 3.602 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.6136, allocations: 102.7 kB / 0.6554 GB, free: 3.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.6136, allocations: 27.56 kB / 0.6555 GB, free: 3.473 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.6136, allocations: 0 / 0.6555 GB, free: 3.473 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6138, allocations: 318.8 kB / 0.6558 GB, free: 3.152 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.6139, allocations: 28 kB / 0.6558 GB, free: 3.125 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.678e-05/0.6139, allocations: 41.7 kB / 0.6558 GB, free: 3.078 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.433e-05/0.614, allocations: 27.94 kB / 0.6558 GB, free: 3.051 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.614, allocations: 0 / 0.6558 GB, free: 3.051 MB / 474.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001916/0.6142, allocations: 105.5 kB / 0.6559 GB, free: 2.941 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.6142, allocations: 4 kB / 0.656 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.6143, allocations: 8.172 kB / 0.656 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6143, allocations: 0 / 0.656 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.6145, allocations: 27.98 kB / 0.656 GB, free: 2.902 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.6145, allocations: 10.28 kB / 0.656 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.6146, allocations: 19.89 kB / 0.656 GB, free: 2.875 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.6146, allocations: 4 kB / 0.656 GB, free: 2.871 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/0.6147, allocations: 108.9 kB / 0.6561 GB, free: 2.758 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.6148, allocations: 15.81 kB / 0.6561 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.6151, allocations: 114.7 kB / 0.6562 GB, free: 2.625 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6151, allocations: 4 kB / 0.6563 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6151, allocations: 0 / 0.6563 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6151, allocations: 3.984 kB / 0.6563 GB, free: 2.617 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.6154, allocations: 190.1 kB / 0.6564 GB, free: 2.395 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6154, allocations: 1.5 kB / 0.6564 GB, free: 2.395 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.6156, allocations: 31.92 kB / 0.6565 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.6156, allocations: 7.984 kB / 0.6565 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.6156, allocations: 0 / 0.6565 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6156, allocations: 0 / 0.6565 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6156, allocations: 0 / 0.6565 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002654/0.6159, allocations: 284.3 kB / 0.6567 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003714/0.6163, allocations: 0.6536 MB / 0.6574 GB, free: 1.375 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.6163, allocations: 88.92 kB / 0.6575 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.6164, allocations: 0 / 0.6575 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.6166, allocations: 20.55 kB / 0.6575 GB, free: 1.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.6166, allocations: 3.984 kB / 0.6575 GB, free: 1.246 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.6166, allocations: 4 kB / 0.6575 GB, free: 1.242 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.26e-05/0.6167, allocations: 120.9 kB / 0.6576 GB, free: 1.125 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008474/0.6176, allocations: 27.91 kB / 0.6576 GB, free: 1.098 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001122/0.6177, allocations: 99.19 kB / 0.6577 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.6179, allocations: 68.78 kB / 0.6578 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6179, allocations: 0 / 0.6578 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.618, allocations: 40.25 kB / 0.6578 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.6183, allocations: 46.38 kB / 0.6579 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.6188, allocations: 149.1 kB / 0.658 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000415/0.6192, allocations: 0.7307 MB / 0.6587 GB, free: 15.92 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6192, allocations: 0 / 0.6587 GB, free: 15.92 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)