Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.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: translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 189.2 kB / 7.804 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4526/0.4526, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.225/1.225, allocations: 221.4 MB / 342.8 MB, free: 5.242 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.001037/0.001037, allocations: 87.61 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.474e-06, allocations: 4 kB / 493.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3069, allocations: 72.3 MB / 0.5529 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.4215, allocations: 106.6 MB / 0.657 GB, free: 3.426 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4218, allocations: 88.73 kB / 0.657 GB, free: 3.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01565/0.4375, allocations: 6.575 MB / 0.6635 GB, free: 12.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.006e-05/0.4375, allocations: 4 kB / 0.6635 GB, free: 12.84 MB / 490.7 MB 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.0008003/0.4383, allocations: 0.562 MB / 0.664 GB, free: 12.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4384, allocations: 8.031 kB / 0.664 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.464e-05/0.4385, allocations: 40.06 kB / 0.6641 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.439, allocations: 387.4 kB / 0.6644 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.439, allocations: 12 kB / 0.6644 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.4391, allocations: 16 kB / 0.6645 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000381/0.4395, allocations: 185.3 kB / 0.6646 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.4399, allocations: 269.5 kB / 0.6649 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.44, allocations: 0 / 0.6649 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.44, allocations: 0 / 0.6649 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.44, allocations: 8 kB / 0.6649 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.4414, allocations: 1.092 MB / 0.666 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.4418, allocations: 182.9 kB / 0.6661 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.442, allocations: 84.88 kB / 0.6662 GB, free: 9.859 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.442, allocations: 7.938 kB / 0.6662 GB, free: 9.852 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.442, allocations: 34.56 kB / 0.6663 GB, free: 9.809 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.442, allocations: 0 / 0.6663 GB, free: 9.809 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003978/0.4424, allocations: 177.3 kB / 0.6664 GB, free: 9.629 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.4425, allocations: 81.11 kB / 0.6665 GB, free: 9.531 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.4427, allocations: 231.4 kB / 0.6667 GB, free: 9.301 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.4428, allocations: 25.7 kB / 0.6667 GB, free: 9.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.4429, allocations: 172.2 kB / 0.6669 GB, free: 9.098 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.4429, allocations: 51.27 kB / 0.667 GB, free: 9.047 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.4429, allocations: 2.438 kB / 0.667 GB, free: 9.047 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4431, allocations: 338.8 kB / 0.6673 GB, free: 8.707 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.4432, allocations: 60 kB / 0.6673 GB, free: 8.648 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.4433, allocations: 97.31 kB / 0.6674 GB, free: 8.543 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.4434, allocations: 73.98 kB / 0.6675 GB, free: 8.473 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4434, allocations: 4 kB / 0.6675 GB, free: 8.469 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003049/0.4437, allocations: 205.1 kB / 0.6677 GB, free: 8.262 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.4439, allocations: 273.8 kB / 0.668 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4439, allocations: 4.062 kB / 0.668 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4439, allocations: 0 / 0.668 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.4441, allocations: 35.92 kB / 0.668 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.4441, allocations: 6.891 kB / 0.668 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.4442, allocations: 19.83 kB / 0.668 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.4443, allocations: 8 kB / 0.668 GB, free: 7.906 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.972e-06/0.4443, allocations: 4 kB / 0.668 GB, free: 7.902 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002322/0.4445, allocations: 147.8 kB / 0.6682 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-06/0.4445, allocations: 0 / 0.6682 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/0.4445, allocations: 0 / 0.6682 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4447, allocations: 27.94 kB / 0.6682 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.4447, allocations: 3.984 kB / 0.6682 GB, free: 7.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.4448, allocations: 15.91 kB / 0.6682 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4448, allocations: 8.062 kB / 0.6682 GB, free: 7.703 MB / 490.7 MB 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.665e-05/0.4449, allocations: 104.9 kB / 0.6683 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.445, allocations: 27.62 kB / 0.6684 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.445, allocations: 33.09 kB / 0.6684 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.445, allocations: 0 / 0.6684 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4451, allocations: 7.375 kB / 0.6684 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.4451, allocations: 0 / 0.6684 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.4455, allocations: 357.8 kB / 0.6687 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4455, allocations: 0 / 0.6687 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.4457, allocations: 31.98 kB / 0.6688 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4457, allocations: 0 / 0.6688 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.4457, allocations: 4 kB / 0.6688 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.4457, allocations: 4 kB / 0.6688 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4457, allocations: 0 / 0.6688 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004913/0.4462, allocations: 379 kB / 0.6691 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.4464, allocations: 128.8 kB / 0.6693 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.4464, allocations: 0 / 0.6693 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.4466, allocations: 11.98 kB / 0.6693 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.4466, allocations: 11.98 kB / 0.6693 GB, free: 6.551 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.4466, allocations: 4 kB / 0.6693 GB, free: 6.547 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001662/0.4468, allocations: 187.1 kB / 0.6695 GB, free: 6.363 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003929/0.4472, allocations: 99.56 kB / 0.6696 GB, free: 6.266 MB / 490.7 MB 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.0001313/0.4474, allocations: 103.2 kB / 0.6697 GB, free: 6.156 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.4478, allocations: 241.9 kB / 0.6699 GB, free: 5.922 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4478, allocations: 0 / 0.6699 GB, free: 5.922 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.4479, allocations: 83.88 kB / 0.67 GB, free: 5.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.4484, allocations: 66.59 kB / 0.67 GB, free: 5.773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009855/0.4494, allocations: 399.2 kB / 0.6704 GB, free: 5.359 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/0.4498, allocations: 0.8029 MB / 0.6712 GB, free: 4.527 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4498, allocations: 2.812 kB / 0.6712 GB, free: 4.527 MB / 490.7 MB Notification: Performance of Templates: time 0.007931/0.4578, allocations: 3.824 MB / 0.6749 GB, free: 0.7969 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)