Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",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.395/1.395, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.001102/0.001103, allocations: 181.3 kB / 361.1 MB, free: 7.121 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.269/1.269, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008587/0.0008589, allocations: 95.58 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2311/0.232, allocations: 121.4 MB / 0.8511 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.7757, allocations: 115.3 MB / 0.9638 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.9332, allocations: 143.2 MB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.9335, allocations: 83.95 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.01579/0.9493, allocations: 7.19 MB / 1.111 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.9494, allocations: 12.5 kB / 1.111 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.9495, allocations: 43.44 kB / 1.111 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.95, allocations: 391.5 kB / 1.111 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.95, allocations: 12 kB / 1.111 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.9501, allocations: 12 kB / 1.111 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003548/0.9504, allocations: 193.2 kB / 1.111 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.9509, allocations: 269.6 kB / 1.112 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.9509, allocations: 0 / 1.112 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.9509, allocations: 0 / 1.112 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.9509, allocations: 8 kB / 1.112 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.9523, allocations: 1.092 MB / 1.113 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.9527, allocations: 195.9 kB / 1.113 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.9528, allocations: 78.81 kB / 1.113 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.9528, allocations: 8 kB / 1.113 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.9529, allocations: 31 kB / 1.113 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.9529, allocations: 0 / 1.113 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003475/0.9532, allocations: 181.3 kB / 1.113 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.9533, allocations: 81.11 kB / 1.113 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.9535, allocations: 247.4 kB / 1.113 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.9536, allocations: 29.7 kB / 1.113 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.9537, allocations: 160.4 kB / 1.114 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.9537, allocations: 51.19 kB / 1.114 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/0.9537, allocations: 3.938 kB / 1.114 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.9538, allocations: 338.8 kB / 1.114 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.9539, allocations: 60 kB / 1.114 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.9541, allocations: 99.77 kB / 1.114 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.9542, allocations: 67.98 kB / 1.114 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9542, allocations: 0 / 1.114 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002972/0.9545, allocations: 211.5 kB / 1.114 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/0.9546, allocations: 275.1 kB / 1.115 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.9546, allocations: 0 / 1.115 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.9546, allocations: 4 kB / 1.115 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.9548, allocations: 35.83 kB / 1.115 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.9548, allocations: 4.656 kB / 1.115 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.9549, allocations: 19.92 kB / 1.115 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.955, allocations: 9.812 kB / 1.115 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.955, allocations: 4 kB / 1.115 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002376/0.9552, allocations: 142.5 kB / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-06/0.9552, allocations: 0 / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-06/0.9552, allocations: 0 / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.9554, allocations: 33.17 kB / 1.115 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-06/0.9554, allocations: 4 kB / 1.115 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.9555, allocations: 15.89 kB / 1.115 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.9555, allocations: 4 kB / 1.115 GB, free: 0.9961 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.567e-05/0.9556, allocations: 108.8 kB / 1.115 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.9557, allocations: 23.72 kB / 1.115 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.9557, allocations: 30.02 kB / 1.115 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.9558, allocations: 4 kB / 1.115 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9558, allocations: 4 kB / 1.115 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.9558, allocations: 0 / 1.115 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.9561, allocations: 357.8 kB / 1.115 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.9561, allocations: 4 kB / 1.115 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.9563, allocations: 35.52 kB / 1.116 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.9563, allocations: 4 kB / 1.116 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.9564, allocations: 7.844 kB / 1.116 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.9564, allocations: 0 / 1.116 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.9564, allocations: 0 / 1.116 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004255/0.9568, allocations: 379.1 kB / 1.116 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006392/0.9575, allocations: 0.8387 MB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.9576, allocations: 124.8 kB / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.9576, allocations: 7.844 kB / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.9578, allocations: 16.11 kB / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.9578, allocations: 7.984 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.9578, allocations: 4 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001497/0.958, allocations: 191.1 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001492/0.9595, allocations: 95.58 kB / 1.117 GB, free: 14.69 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (actSet.y,actAct.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001231/0.9596, allocations: 108.3 kB / 1.117 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003751/0.96, allocations: 249.8 kB / 1.117 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.96, allocations: 0 / 1.117 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.9601, allocations: 75.94 kB / 1.118 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.9606, allocations: 65.69 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009209/0.9615, allocations: 403 kB / 1.118 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/0.9619, allocations: 0.8109 MB / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9619, allocations: 0 / 1.119 GB, free: 12.93 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)