Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_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.004075/0.004075, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7715/0.7715, allocations: 133.5 MB / 141.4 MB, free: 15.74 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 99.72 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5438/0.545, allocations: 88.43 MB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.7397, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6136/1.353, allocations: 111.1 MB / 0.7418 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.354, allocations: 77.02 kB / 0.7419 GB, free: 10.66 MB / 0.4948 GB 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.005839/1.359, allocations: 2.025 MB / 0.7439 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.36, allocations: 7.5 kB / 0.7439 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/1.36, allocations: 20.17 kB / 0.7439 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/1.36, allocations: 204.3 kB / 0.7441 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/1.36, allocations: 1.75 kB / 0.7441 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/1.36, allocations: 3.875 kB / 0.7441 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001627/1.36, allocations: 62.58 kB / 0.7442 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/1.36, allocations: 94.08 kB / 0.7443 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/1.36, allocations: 4 kB / 0.7443 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/1.36, allocations: 3.906 kB / 0.7443 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.36, allocations: 0 / 0.7443 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000739/1.361, allocations: 444.9 kB / 0.7447 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/1.361, allocations: 106.1 kB / 0.7448 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/1.361, allocations: 42.44 kB / 0.7448 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/1.361, allocations: 11.75 kB / 0.7448 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/1.361, allocations: 32.02 kB / 0.7449 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/1.361, allocations: 0 / 0.7449 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002816/1.362, allocations: 91.19 kB / 0.745 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/1.362, allocations: 84.7 kB / 0.745 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/1.362, allocations: 141.8 kB / 0.7452 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/1.362, allocations: 30.62 kB / 0.7452 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/1.362, allocations: 103.9 kB / 0.7453 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/1.362, allocations: 24.72 kB / 0.7453 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/1.362, allocations: 3.875 kB / 0.7453 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.362, allocations: 321.6 kB / 0.7456 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.288e-05/1.362, allocations: 25.53 kB / 0.7457 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/1.362, allocations: 40.12 kB / 0.7457 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.614e-05/1.362, allocations: 24.42 kB / 0.7457 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.362, allocations: 0 / 0.7457 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/1.363, allocations: 116.4 kB / 0.7458 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/1.363, allocations: 4.031 kB / 0.7458 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.363, allocations: 0 / 0.7458 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.363, allocations: 7.875 kB / 0.7458 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/1.363, allocations: 28.73 kB / 0.7459 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.363, allocations: 0.7812 kB / 0.7459 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/1.363, allocations: 18.34 kB / 0.7459 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/1.363, allocations: 3.844 kB / 0.7459 GB, free: 24.66 MB / 0.5105 GB 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 9.1e-05/1.363, allocations: 111.3 kB / 0.746 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/1.363, allocations: 11.59 kB / 0.746 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/1.364, allocations: 124.2 kB / 0.7461 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.364, allocations: 0 / 0.7461 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.364, allocations: 5.484 kB / 0.7461 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.364, allocations: 0 / 0.7461 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/1.364, allocations: 192 kB / 0.7463 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.364, allocations: 256 / 0.7463 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/1.364, allocations: 43.52 kB / 0.7464 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/1.364, allocations: 0 / 0.7464 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/1.364, allocations: 0 / 0.7464 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.364, allocations: 0 / 0.7464 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.364, allocations: 0 / 0.7464 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000266/1.364, allocations: 284.5 kB / 0.7466 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003898/1.365, allocations: 0.6501 MB / 0.7473 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/1.365, allocations: 89.88 kB / 0.7474 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/1.365, allocations: 3.938 kB / 0.7474 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/1.365, allocations: 19.61 kB / 0.7474 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/1.365, allocations: 6.812 kB / 0.7474 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/1.365, allocations: 3.938 kB / 0.7474 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.101e-05/1.365, allocations: 113.3 kB / 0.7475 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008353/1.366, allocations: 23 kB / 0.7475 GB, free: 23.31 MB / 0.5105 GB 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.000125/1.366, allocations: 104.3 kB / 0.7476 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001638/1.366, allocations: 67.88 kB / 0.7477 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.366, allocations: 4 kB / 0.7477 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.787e-05/1.366, allocations: 37.09 kB / 0.7477 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/1.367, allocations: 31.7 kB / 0.7477 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/1.367, allocations: 166.6 kB / 0.7479 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/1.368, allocations: 0.7269 MB / 0.7486 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.368, allocations: 3.812 kB / 0.7486 GB, free: 22.38 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)