Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") [: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.6932/0.6932, allocations: 141.8 MB / 149.1 MB, free: 13.2 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.001129/0.001129, allocations: 188.7 kB / 182 MB, free: 9.891 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.243/1.243, allocations: 221.4 MB / 436 MB, free: 2.391 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.0009704/0.0009704, allocations: 93.83 kB / 0.507 GB, free: 11.12 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 269.4 kB / 0.5885 GB, free: 7.953 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.334e-06, allocations: 0 / 0.6759 GB, free: 14.32 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3523, allocations: 82.78 MB / 0.7567 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.4652, allocations: 107.6 MB / 0.8618 GB, free: 31.38 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001679/0.4654, allocations: 79.77 kB / 0.8619 GB, free: 31.3 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.005472/0.4709, allocations: 1.541 MB / 0.8634 GB, free: 29.8 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4709, allocations: 0 / 0.8634 GB, free: 29.8 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002087/0.4711, allocations: 328 kB / 0.8637 GB, free: 29.43 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4711, allocations: 8.031 kB / 0.8637 GB, free: 29.43 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.4712, allocations: 4 kB / 0.8637 GB, free: 29.42 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.021e-05/0.4713, allocations: 170.9 kB / 0.8639 GB, free: 29.21 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.4713, allocations: 1.219 kB / 0.8639 GB, free: 29.21 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.4713, allocations: 11.94 kB / 0.8639 GB, free: 29.2 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.889e-05/0.4714, allocations: 0 / 0.8639 GB, free: 29.2 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.323e-05/0.4714, allocations: 30.98 kB / 0.864 GB, free: 29.17 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.4714, allocations: 4 kB / 0.864 GB, free: 29.16 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4715, allocations: 0 / 0.864 GB, free: 29.16 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4715, allocations: 0.9375 kB / 0.864 GB, free: 29.16 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.4716, allocations: 139.3 kB / 0.8641 GB, free: 28.99 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.005e-05/0.4716, allocations: 26.59 kB / 0.8641 GB, free: 28.96 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.4716, allocations: 13.7 kB / 0.8641 GB, free: 28.94 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003917/0.472, allocations: 0.5775 MB / 0.8647 GB, free: 28.24 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.4721, allocations: 31.09 kB / 0.8647 GB, free: 28.2 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4721, allocations: 0.75 kB / 0.8647 GB, free: 28.2 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3): time 0.0004563/0.4725, allocations: 247.6 kB / 0.865 GB, free: 27.91 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.4726, allocations: 52.69 kB / 0.865 GB, free: 27.84 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.634e-05/0.4726, allocations: 89 kB / 0.8651 GB, free: 27.75 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.4726, allocations: 29.64 kB / 0.8651 GB, free: 27.71 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.366e-05/0.4727, allocations: 81.33 kB / 0.8652 GB, free: 27.63 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.4727, allocations: 11.89 kB / 0.8652 GB, free: 27.62 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.4727, allocations: 0.5 kB / 0.8652 GB, free: 27.62 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.4727, allocations: 318.9 kB / 0.8655 GB, free: 27.3 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.4728, allocations: 4 kB / 0.8655 GB, free: 27.3 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.4728, allocations: 17.72 kB / 0.8655 GB, free: 27.27 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.4728, allocations: 8 kB / 0.8655 GB, free: 27.27 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.4728, allocations: 0 / 0.8655 GB, free: 27.27 MB / 0.5575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.149e-05/0.4729, allocations: 53.62 kB / 0.8656 GB, free: 27.21 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.473, allocations: 4 kB / 0.8656 GB, free: 27.2 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.473, allocations: 5.312 kB / 0.8656 GB, free: 27.2 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.473, allocations: 0 / 0.8656 GB, free: 27.2 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.748e-05/0.473, allocations: 8 kB / 0.8656 GB, free: 27.19 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4731, allocations: 0 / 0.8656 GB, free: 27.19 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.4731, allocations: 7.891 kB / 0.8656 GB, free: 27.18 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.4731, allocations: 4 kB / 0.8656 GB, free: 27.18 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.219e-05/0.4731, allocations: 101 kB / 0.8657 GB, free: 27.07 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.4731, allocations: 0 / 0.8657 GB, free: 27.07 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.4733, allocations: 65.25 kB / 0.8658 GB, free: 27 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4733, allocations: 3.906 kB / 0.8658 GB, free: 27 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4733, allocations: 0 / 0.8658 GB, free: 27 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4733, allocations: 0 / 0.8658 GB, free: 27 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.51e-05/0.4734, allocations: 134.2 kB / 0.8659 GB, free: 26.83 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4734, allocations: 0 / 0.8659 GB, free: 26.83 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.4734, allocations: 4 kB / 0.8659 GB, free: 26.83 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4734, allocations: 4 kB / 0.8659 GB, free: 26.82 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.4734, allocations: 3.984 kB / 0.8659 GB, free: 26.82 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4735, allocations: 0 / 0.8659 GB, free: 26.82 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4735, allocations: 1.484 kB / 0.8659 GB, free: 26.82 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001151/0.4736, allocations: 77.03 kB / 0.866 GB, free: 26.73 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.4736, allocations: 77.11 kB / 0.8661 GB, free: 26.63 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.4736, allocations: 7.906 kB / 0.8661 GB, free: 26.62 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.4737, allocations: 0 / 0.8661 GB, free: 26.62 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.4737, allocations: 432 / 0.8661 GB, free: 26.62 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.4737, allocations: 12.03 kB / 0.8661 GB, free: 26.61 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.491e-05/0.4737, allocations: 87.14 kB / 0.8662 GB, free: 26.53 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002103/0.4739, allocations: 40 kB / 0.8662 GB, free: 26.49 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001849/0.4741, allocations: 135.2 kB / 0.8663 GB, free: 26.34 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 6.105e-05/0.4742, allocations: 16 kB / 0.8664 GB, free: 26.33 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4742, allocations: 0 / 0.8664 GB, free: 26.33 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.4742, allocations: 8 kB / 0.8664 GB, free: 26.32 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.4743, allocations: 0.8125 kB / 0.8664 GB, free: 26.32 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001813/0.4745, allocations: 72.2 kB / 0.8664 GB, free: 26.22 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.4746, allocations: 0.6917 MB / 0.8671 GB, free: 25.51 MB / 0.5575 GB Notification: Performance of SimCode: time 2e-07/0.4746, allocations: 0 / 0.8671 GB, free: 25.51 MB / 0.5575 GB Notification: Performance of Templates: time 0.002786/0.4774, allocations: 1.192 MB / 0.8683 GB, free: 24.35 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)