Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") [: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.8274/0.8274, allocations: 141.8 MB / 149.1 MB, free: 13.05 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.001063/0.001063, allocations: 180.7 kB / 181.9 MB, free: 9.746 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.422/1.422, allocations: 221.4 MB / 436 MB, free: 2.203 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.0009852/0.0009852, allocations: 93.5 kB / 0.507 GB, free: 17.75 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001791, allocations: 285.6 kB / 0.5884 GB, free: 3.738 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.247e-06/9.287e-06, allocations: 2.625 kB / 0.6759 GB, free: 136.4 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1779, allocations: 82.78 MB / 0.7567 GB, free: 83.07 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.3184, allocations: 108.5 MB / 0.8626 GB, free: 6.453 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.3187, allocations: 67.97 kB / 0.8627 GB, free: 6.387 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.01296/0.3316, allocations: 3.996 MB / 0.8666 GB, free: 2.383 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.3317, allocations: 4 kB / 0.8666 GB, free: 2.379 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005539/0.3323, allocations: 370.3 kB / 0.867 GB, free: 1.973 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.3323, allocations: 12.97 kB / 0.867 GB, free: 1.961 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.3324, allocations: 11.91 kB / 0.867 GB, free: 1.949 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3326, allocations: 159.1 kB / 0.8671 GB, free: 1.754 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3326, allocations: 0 / 0.8671 GB, free: 1.754 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.3326, allocations: 4 kB / 0.8671 GB, free: 1.75 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001085/0.3328, allocations: 11.91 kB / 0.8672 GB, free: 1.738 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.742e-05/0.3328, allocations: 33.69 kB / 0.8672 GB, free: 1.699 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3329, allocations: 3.938 kB / 0.8672 GB, free: 1.695 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3329, allocations: 4 kB / 0.8672 GB, free: 1.691 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3329, allocations: 0 / 0.8672 GB, free: 1.691 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.3334, allocations: 257.4 kB / 0.8674 GB, free: 1.402 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/0.3334, allocations: 30.52 kB / 0.8675 GB, free: 1.363 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.3335, allocations: 8.922 kB / 0.8675 GB, free: 1.352 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006706/0.3342, allocations: 465.5 kB / 0.8679 GB, free: 0.8047 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3342, allocations: 38.56 kB / 0.868 GB, free: 0.7578 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.3342, allocations: 0 / 0.868 GB, free: 0.7578 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0002105/0.3344, allocations: 37.7 kB / 0.868 GB, free: 0.7148 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3345, allocations: 51.41 kB / 0.868 GB, free: 0.6523 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.3346, allocations: 101 kB / 0.8681 GB, free: 0.5469 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3346, allocations: 25.7 kB / 0.8682 GB, free: 0.5156 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.3346, allocations: 84.14 kB / 0.8682 GB, free: 440 kB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3347, allocations: 11.78 kB / 0.8683 GB, free: 428 kB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.3347, allocations: 0 / 0.8683 GB, free: 428 kB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3348, allocations: 318.8 kB / 0.8686 GB, free: 100 kB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.3348, allocations: 7.938 kB / 0.8686 GB, free: 92 kB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/0.3348, allocations: 4 kB / 0.8686 GB, free: 88 kB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.271e-05/0.3349, allocations: 16.05 kB / 0.8686 GB, free: 72 kB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3349, allocations: 0 / 0.8686 GB, free: 72 kB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001114/0.335, allocations: 41.7 kB / 0.8686 GB, free: 24 kB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.335, allocations: 4 kB / 0.8686 GB, free: 20 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3351, allocations: 0 / 0.8686 GB, free: 20 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3351, allocations: 0 / 0.8686 GB, free: 20 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3352, allocations: 15.98 kB / 0.8686 GB, free: 4 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3352, allocations: 32 / 0.8686 GB, free: 4 kB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.8e-05/0.3353, allocations: 19.89 kB / 0.8687 GB, free: 15.98 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.3353, allocations: 3.984 kB / 0.8687 GB, free: 15.98 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.184e-05/0.3354, allocations: 101 kB / 0.8688 GB, free: 15.88 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.3354, allocations: 0 / 0.8688 GB, free: 15.88 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.3356, allocations: 57.16 kB / 0.8688 GB, free: 15.81 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3356, allocations: 4.031 kB / 0.8688 GB, free: 15.81 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3356, allocations: 0 / 0.8688 GB, free: 15.81 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3356, allocations: 0 / 0.8688 GB, free: 15.81 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.3358, allocations: 138.2 kB / 0.869 GB, free: 15.64 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3358, allocations: 3.938 kB / 0.869 GB, free: 15.63 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.3359, allocations: 11.98 kB / 0.869 GB, free: 15.62 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3359, allocations: 0 / 0.869 GB, free: 15.62 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3359, allocations: 0 / 0.869 GB, free: 15.62 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3359, allocations: 4 kB / 0.869 GB, free: 15.62 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3359, allocations: 7.906 kB / 0.869 GB, free: 15.61 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001646/0.3361, allocations: 139.5 kB / 0.8691 GB, free: 15.46 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.3362, allocations: 85.02 kB / 0.8692 GB, free: 15.36 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3362, allocations: 0 / 0.8692 GB, free: 15.36 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.3363, allocations: 16.02 kB / 0.8692 GB, free: 15.34 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3363, allocations: 0 / 0.8692 GB, free: 15.34 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3363, allocations: 256 / 0.8692 GB, free: 15.34 MB / 0.5575 GB Notification: Performance of sort global known variables: time 5.276e-05/0.3364, allocations: 87.28 kB / 0.8693 GB, free: 15.25 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002869/0.3367, allocations: 19.98 kB / 0.8693 GB, free: 15.23 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002116/0.3369, allocations: 111.2 kB / 0.8694 GB, free: 15.12 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 9.141e-05/0.337, allocations: 12 kB / 0.8694 GB, free: 15.11 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.337, allocations: 0 / 0.8694 GB, free: 15.11 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 2.281e-05/0.337, allocations: 8.062 kB / 0.8694 GB, free: 15.1 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.3372, allocations: 14.83 kB / 0.8695 GB, free: 15.09 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.3375, allocations: 59.8 kB / 0.8695 GB, free: 15 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.3378, allocations: 0.6958 MB / 0.8702 GB, free: 14.28 MB / 0.5575 GB Notification: Performance of SimCode: time 2.3e-07/0.3379, allocations: 0 / 0.8702 GB, free: 14.28 MB / 0.5575 GB Notification: Performance of Templates: time 0.003027/0.3409, allocations: 0.6631 MB / 0.8708 GB, free: 13.62 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)