Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7297/0.7297, allocations: 141.8 MB / 149.1 MB, free: 13.74 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 193 kB / 181.9 MB, free: 10.32 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.4 MB / 436 MB, free: 2.402 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009326/0.0009326, allocations: 107.6 kB / 0.507 GB, free: 11.16 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001812, allocations: 271.7 kB / 0.5884 GB, free: 7.977 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.462e-06, allocations: 0 / 0.6759 GB, free: 14.33 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4521, allocations: 82.76 MB / 0.7567 GB, free: 139.2 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.6, allocations: 113.7 MB / 0.8677 GB, free: 25.34 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004233/0.6006, allocations: 87.7 kB / 0.8678 GB, free: 25.25 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.01482/0.6154, allocations: 6.566 MB / 0.8742 GB, free: 18.72 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 2.798e-05/0.6155, allocations: 8 kB / 0.8742 GB, free: 18.71 MB / 0.5575 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.0006239/0.6161, allocations: 0.5527 MB / 0.8748 GB, free: 18.11 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.6162, allocations: 9.281 kB / 0.8748 GB, free: 18.11 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.964e-05/0.6163, allocations: 47.44 kB / 0.8748 GB, free: 18.06 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.6167, allocations: 375.5 kB / 0.8752 GB, free: 17.65 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.6168, allocations: 12 kB / 0.8752 GB, free: 17.64 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.6168, allocations: 16 kB / 0.8752 GB, free: 17.62 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003438/0.6171, allocations: 189.3 kB / 0.8754 GB, free: 17.44 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.6175, allocations: 265.4 kB / 0.8757 GB, free: 17.16 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.6176, allocations: 4 kB / 0.8757 GB, free: 17.16 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.6176, allocations: 4 kB / 0.8757 GB, free: 17.16 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.6176, allocations: 4 kB / 0.8757 GB, free: 17.15 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.6188, allocations: 1.088 MB / 0.8767 GB, free: 16.02 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.6191, allocations: 190.9 kB / 0.8769 GB, free: 15.82 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.6192, allocations: 80.86 kB / 0.877 GB, free: 15.74 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.6193, allocations: 0 / 0.877 GB, free: 15.74 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.6193, allocations: 34.56 kB / 0.877 GB, free: 15.7 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.6193, allocations: 0 / 0.877 GB, free: 15.7 MB / 0.5575 GB Notification: Performance of matching and sorting (n=16): time 0.0003301/0.6196, allocations: 184.7 kB / 0.8772 GB, free: 15.51 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.6197, allocations: 81.11 kB / 0.8773 GB, free: 15.41 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.6199, allocations: 235.3 kB / 0.8775 GB, free: 15.18 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.6199, allocations: 25.92 kB / 0.8775 GB, free: 15.15 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.62, allocations: 168.3 kB / 0.8777 GB, free: 14.98 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.62, allocations: 55.2 kB / 0.8777 GB, free: 14.93 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.62, allocations: 0 / 0.8777 GB, free: 14.93 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 6.095e-05/0.6201, allocations: 338.7 kB / 0.8781 GB, free: 14.59 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.058e-05/0.6202, allocations: 64 kB / 0.8781 GB, free: 14.52 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.6203, allocations: 98.52 kB / 0.8782 GB, free: 14.42 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.6204, allocations: 68.02 kB / 0.8783 GB, free: 14.35 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6204, allocations: 0 / 0.8783 GB, free: 14.35 MB / 0.5575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002668/0.6207, allocations: 205.2 kB / 0.8785 GB, free: 14.14 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/0.6208, allocations: 281.8 kB / 0.8787 GB, free: 13.85 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6208, allocations: 0 / 0.8787 GB, free: 13.85 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6208, allocations: 0 / 0.8787 GB, free: 13.85 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.621, allocations: 35.92 kB / 0.8788 GB, free: 13.82 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.621, allocations: 3.984 kB / 0.8788 GB, free: 13.81 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.6211, allocations: 23.84 kB / 0.8788 GB, free: 13.79 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.6211, allocations: 4 kB / 0.8788 GB, free: 13.79 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-06/0.6212, allocations: 4 kB / 0.8788 GB, free: 13.78 MB / 0.5575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002025/0.6214, allocations: 139.9 kB / 0.8789 GB, free: 13.64 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-06/0.6214, allocations: 4 kB / 0.8789 GB, free: 13.64 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-06/0.6214, allocations: 3.906 kB / 0.8789 GB, free: 13.64 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.6215, allocations: 31.92 kB / 0.879 GB, free: 13.61 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-06/0.6215, allocations: 4 kB / 0.879 GB, free: 13.6 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.591e-05/0.6216, allocations: 12.06 kB / 0.879 GB, free: 13.59 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.6216, allocations: 4 kB / 0.879 GB, free: 13.59 MB / 0.5575 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 6.808e-05/0.6217, allocations: 111.5 kB / 0.8791 GB, free: 13.47 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.6218, allocations: 27.7 kB / 0.8791 GB, free: 13.45 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.613e-05/0.6218, allocations: 29.97 kB / 0.8792 GB, free: 13.41 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6218, allocations: 0 / 0.8792 GB, free: 13.41 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6218, allocations: 3.906 kB / 0.8792 GB, free: 13.41 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6219, allocations: 3.984 kB / 0.8792 GB, free: 13.41 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.6222, allocations: 357.9 kB / 0.8795 GB, free: 13.02 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6222, allocations: 11.89 kB / 0.8795 GB, free: 13.01 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.6223, allocations: 27.98 kB / 0.8795 GB, free: 12.98 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.6224, allocations: 0 / 0.8795 GB, free: 12.98 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.6224, allocations: 4 kB / 0.8796 GB, free: 12.98 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6224, allocations: 0 / 0.8796 GB, free: 12.98 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6224, allocations: 0 / 0.8796 GB, free: 12.98 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003955/0.6228, allocations: 383 kB / 0.8799 GB, free: 12.59 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.224e-05/0.6229, allocations: 124.8 kB / 0.88 GB, free: 12.45 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.6229, allocations: 3.984 kB / 0.88 GB, free: 12.44 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.6231, allocations: 15.84 kB / 0.8801 GB, free: 12.43 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.6231, allocations: 11.98 kB / 0.8801 GB, free: 12.41 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.6232, allocations: 4 kB / 0.8801 GB, free: 12.41 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.0001363/0.6233, allocations: 191.2 kB / 0.8803 GB, free: 12.22 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.000366/0.6237, allocations: 91.67 kB / 0.8803 GB, free: 12.13 MB / 0.5575 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.0001181/0.6238, allocations: 103.2 kB / 0.8804 GB, free: 12.02 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0003528/0.6242, allocations: 245.9 kB / 0.8807 GB, free: 11.78 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6242, allocations: 0 / 0.8807 GB, free: 11.78 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 9.84e-05/0.6243, allocations: 75.94 kB / 0.8807 GB, free: 11.71 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.6247, allocations: 65.09 kB / 0.8808 GB, free: 11.64 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.6256, allocations: 393.3 kB / 0.8812 GB, free: 11.23 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.6259, allocations: 0.8031 MB / 0.882 GB, free: 10.39 MB / 0.5575 GB Notification: Performance of SimCode: time 2.31e-07/0.6259, allocations: 0 / 0.882 GB, free: 10.39 MB / 0.5575 GB Notification: Performance of Templates: time 0.006436/0.6323, allocations: 3.838 MB / 0.8857 GB, free: 6.621 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)