Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.331/2.331, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 181.3 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.1 MB / 0.6188 GB, free: 12.47 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001241, allocations: 88.69 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.044e-05, allocations: 0 / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5959/0.5959, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/0.8363, allocations: 143.1 MB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.8367, allocations: 85.27 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02551/0.8622, allocations: 6.624 MB / 1.109 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.572e-05/0.8623, allocations: 4 kB / 1.109 GB, free: 7.141 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.001054/0.8634, allocations: 0.5605 MB / 1.11 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.8634, allocations: 12.02 kB / 1.11 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.8636, allocations: 44.75 kB / 1.11 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007853/0.8644, allocations: 391.5 kB / 1.11 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.8644, allocations: 8 kB / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.8645, allocations: 19.94 kB / 1.11 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006365/0.8651, allocations: 185.3 kB / 1.11 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007657/0.8659, allocations: 273.6 kB / 1.11 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.8659, allocations: 0 / 1.11 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.866, allocations: 0 / 1.11 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.866, allocations: 8 kB / 1.11 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.8683, allocations: 1.088 MB / 1.112 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.8689, allocations: 198.8 kB / 1.112 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.8692, allocations: 76.86 kB / 1.112 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.8692, allocations: 4 kB / 1.112 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.8693, allocations: 34.56 kB / 1.112 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.505e-06/0.8693, allocations: 2.469 kB / 1.112 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0005655/0.8698, allocations: 181.3 kB / 1.112 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.8699, allocations: 85.05 kB / 1.112 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.8703, allocations: 235.5 kB / 1.112 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.8704, allocations: 33.64 kB / 1.112 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.8705, allocations: 160.4 kB / 1.113 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/0.8706, allocations: 55.2 kB / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/0.8706, allocations: 0 / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8707, allocations: 338.8 kB / 1.113 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.8709, allocations: 60 kB / 1.113 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.8712, allocations: 101.5 kB / 1.113 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.8714, allocations: 68.61 kB / 1.113 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8714, allocations: 0 / 1.113 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005407/0.872, allocations: 206.9 kB / 1.113 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.8721, allocations: 275.1 kB / 1.114 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.8721, allocations: 0.8125 kB / 1.114 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.8721, allocations: 4 kB / 1.114 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.8725, allocations: 39.81 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.8725, allocations: 4 kB / 1.114 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.8728, allocations: 15.94 kB / 1.114 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.8728, allocations: 4 kB / 1.114 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.8728, allocations: 4 kB / 1.114 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000408/0.8732, allocations: 152.8 kB / 1.114 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.8733, allocations: 0 / 1.114 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-06/0.8733, allocations: 2.125 kB / 1.114 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.8735, allocations: 31.98 kB / 1.114 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.8735, allocations: 0 / 1.114 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.8738, allocations: 11.91 kB / 1.114 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.8738, allocations: 8 kB / 1.114 GB, free: 1.98 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 0.0001314/0.8739, allocations: 112.6 kB / 1.114 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/0.874, allocations: 23.72 kB / 1.114 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.8742, allocations: 30.02 kB / 1.114 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.8742, allocations: 8 kB / 1.114 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.8742, allocations: 3.984 kB / 1.114 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.8742, allocations: 0 / 1.114 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006776/0.8749, allocations: 357.8 kB / 1.114 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8749, allocations: 0 / 1.114 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.8754, allocations: 31.92 kB / 1.114 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.8754, allocations: 3.938 kB / 1.114 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.8754, allocations: 11.91 kB / 1.114 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.8754, allocations: 2 kB / 1.114 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.8755, allocations: 4 kB / 1.114 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008004/0.8763, allocations: 375.1 kB / 1.115 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.8764, allocations: 120.8 kB / 1.115 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.8765, allocations: 4 kB / 1.115 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.8768, allocations: 12.06 kB / 1.115 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.8769, allocations: 17.39 kB / 1.115 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.8769, allocations: 7.984 kB / 1.115 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000287/0.8772, allocations: 183.1 kB / 1.115 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005893/0.8778, allocations: 87.67 kB / 1.115 GB, free: 0.5391 MB / 0.7136 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.0001697/0.878, allocations: 111.1 kB / 1.115 GB, free: 432 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006753/0.8787, allocations: 238.1 kB / 1.115 GB, free: 196 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8787, allocations: 4.062 kB / 1.115 GB, free: 192 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.8789, allocations: 79.94 kB / 1.116 GB, free: 112 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.8796, allocations: 75.42 kB / 1.116 GB, free: 44 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.8812, allocations: 395 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006024/0.8818, allocations: 0.8153 MB / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/0.8818, allocations: 0 / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.0126/0.8944, allocations: 3.842 MB / 1.121 GB, free: 11.03 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)