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: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.399/1.399, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001081/0.001081, allocations: 181.3 kB / 361.1 MB, free: 7.105 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.303/1.303, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0009199/0.0009198, allocations: 99.72 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/8.095e-06, allocations: 0 / 0.8511 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6059/0.606, allocations: 115.3 MB / 0.9637 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1687/0.7747, allocations: 143.2 MB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.775, allocations: 81.69 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01556/0.7906, allocations: 6.622 MB / 1.11 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.743e-05/0.7907, allocations: 4 kB / 1.11 GB, free: 6.25 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.0007193/0.7914, allocations: 0.5644 MB / 1.111 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7914, allocations: 8.031 kB / 1.111 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.171e-05/0.7915, allocations: 48.66 kB / 1.111 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.7921, allocations: 391.5 kB / 1.111 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.7921, allocations: 12 kB / 1.111 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.7921, allocations: 12 kB / 1.111 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003616/0.7925, allocations: 191.2 kB / 1.111 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.7929, allocations: 273.5 kB / 1.112 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.7929, allocations: 0 / 1.112 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.793, allocations: 0 / 1.112 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.793, allocations: 8 kB / 1.112 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.7943, allocations: 1.088 MB / 1.113 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.7947, allocations: 194.9 kB / 1.113 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.7949, allocations: 76.86 kB / 1.113 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.7949, allocations: 4 kB / 1.113 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.7949, allocations: 32.34 kB / 1.113 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.495e-06/0.795, allocations: 224 / 1.113 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003627/0.7953, allocations: 192 kB / 1.113 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.7954, allocations: 81.05 kB / 1.113 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.7956, allocations: 239.5 kB / 1.113 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.7957, allocations: 29.69 kB / 1.113 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.751e-05/0.7957, allocations: 164.4 kB / 1.114 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.7958, allocations: 47.2 kB / 1.114 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.7958, allocations: 0 / 1.114 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7959, allocations: 342.8 kB / 1.114 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.796, allocations: 60 kB / 1.114 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.7962, allocations: 99.25 kB / 1.114 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.7963, allocations: 71.98 kB / 1.114 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7963, allocations: 0 / 1.114 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003041/0.7966, allocations: 207 kB / 1.114 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.7967, allocations: 271.1 kB / 1.115 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.7968, allocations: 3.984 kB / 1.115 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7968, allocations: 4 kB / 1.115 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.797, allocations: 35.83 kB / 1.115 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.797, allocations: 6.156 kB / 1.115 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.7971, allocations: 19.92 kB / 1.115 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.7971, allocations: 8 kB / 1.115 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/0.7971, allocations: 4 kB / 1.115 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002333/0.7974, allocations: 148.2 kB / 1.115 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.7974, allocations: 0 / 1.115 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-06/0.7974, allocations: 0 / 1.115 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.7975, allocations: 35.91 kB / 1.115 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.7975, allocations: 4.062 kB / 1.115 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.7977, allocations: 11.91 kB / 1.115 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.7977, allocations: 4 kB / 1.115 GB, free: 1.082 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.383e-05/0.7978, allocations: 108.9 kB / 1.115 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.7978, allocations: 23.72 kB / 1.115 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.249e-05/0.7979, allocations: 30.02 kB / 1.115 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7979, allocations: 4 kB / 1.115 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.7979, allocations: 4 kB / 1.115 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7979, allocations: 3.938 kB / 1.115 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.7983, allocations: 361.8 kB / 1.115 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7983, allocations: 0 / 1.115 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.7985, allocations: 29.55 kB / 1.115 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.7985, allocations: 3.938 kB / 1.115 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.7985, allocations: 7.906 kB / 1.115 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7985, allocations: 0 / 1.115 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7985, allocations: 1.688 kB / 1.115 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004774/0.799, allocations: 383 kB / 1.116 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.7991, allocations: 124.8 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.7992, allocations: 4 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.7993, allocations: 11.98 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.7994, allocations: 15.95 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.7994, allocations: 4 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001578/0.7996, allocations: 183.1 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003813/0.8, allocations: 87.67 kB / 1.116 GB, free: 15.64 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.0001341/0.8001, allocations: 108.2 kB / 1.116 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.8005, allocations: 241.9 kB / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8006, allocations: 0 / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.8007, allocations: 88.17 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.8012, allocations: 67.44 kB / 1.117 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009932/0.8022, allocations: 395 kB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/0.8026, allocations: 0.807 MB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.8026, allocations: 4 kB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of Templates: time 0.007831/0.8104, allocations: 3.852 MB / 1.122 GB, free: 10.14 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)