Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [: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.7498/0.7498, allocations: 141.8 MB / 149.1 MB, free: 4.57 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 183.8 kB / 181.9 MB, free: 220 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.3 MB / 436 MB, free: 9.422 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.001049/0.00105, allocations: 95.84 kB / 0.507 GB, free: 24.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.001783/0.001782, allocations: 281.6 kB / 0.5884 GB, free: 12.38 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.588e-06/9.618e-06, allocations: 4 kB / 0.6759 GB, free: 2.734 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4091, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.5297, allocations: 108 MB / 0.8622 GB, free: 4.82 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.53, allocations: 84.47 kB / 0.8623 GB, free: 4.746 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.01326/0.5433, allocations: 4.731 MB / 0.8669 GB, free: 36 kB / 0.5263 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.5434, allocations: 0.5312 kB / 0.8669 GB, free: 36 kB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005187/0.5439, allocations: 359.6 kB / 0.8672 GB, free: 15.64 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.544, allocations: 8.031 kB / 0.8672 GB, free: 15.63 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.953e-05/0.5441, allocations: 4.938 kB / 0.8672 GB, free: 15.62 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.5442, allocations: 167 kB / 0.8674 GB, free: 15.42 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.5443, allocations: 5.031 kB / 0.8674 GB, free: 15.42 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.5443, allocations: 4 kB / 0.8674 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.363e-05/0.5444, allocations: 19.98 kB / 0.8674 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/0.5445, allocations: 46.31 kB / 0.8675 GB, free: 15.34 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5445, allocations: 0 / 0.8675 GB, free: 15.34 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.5445, allocations: 0.8125 kB / 0.8675 GB, free: 15.34 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5446, allocations: 0 / 0.8675 GB, free: 15.34 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.5448, allocations: 143 kB / 0.8676 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.901e-05/0.5448, allocations: 34.44 kB / 0.8676 GB, free: 15.13 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.5449, allocations: 34.25 kB / 0.8677 GB, free: 15.09 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007116/0.5456, allocations: 458.1 kB / 0.8681 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.5457, allocations: 39.72 kB / 0.8682 GB, free: 14.51 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.5457, allocations: 0 / 0.8682 GB, free: 14.51 MB / 0.5419 GB Notification: Performance of matching and sorting (n=11): time 0.001257/0.5469, allocations: 0.5219 MB / 0.8687 GB, free: 13.9 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.547, allocations: 52.16 kB / 0.8687 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.5471, allocations: 94.59 kB / 0.8688 GB, free: 13.74 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.5471, allocations: 27.52 kB / 0.8688 GB, free: 13.71 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.5471, allocations: 80.14 kB / 0.8689 GB, free: 13.62 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.5472, allocations: 39.36 kB / 0.8689 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.5472, allocations: 0 / 0.8689 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5473, allocations: 323.5 kB / 0.8693 GB, free: 13.26 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.678e-05/0.5474, allocations: 16.56 kB / 0.8693 GB, free: 13.25 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.5474, allocations: 20 kB / 0.8693 GB, free: 13.23 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.625e-05/0.5475, allocations: 28.64 kB / 0.8693 GB, free: 13.2 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5475, allocations: 1.969 kB / 0.8693 GB, free: 13.2 MB / 0.5419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001833/0.5477, allocations: 85.59 kB / 0.8694 GB, free: 13.11 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.5477, allocations: 4 kB / 0.8694 GB, free: 13.11 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5478, allocations: 0 / 0.8694 GB, free: 13.11 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5478, allocations: 0 / 0.8694 GB, free: 13.11 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.5479, allocations: 23.98 kB / 0.8694 GB, free: 13.08 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5479, allocations: 4 kB / 0.8694 GB, free: 13.08 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.548, allocations: 0 / 0.8694 GB, free: 13.08 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.548, allocations: 6.625 kB / 0.8694 GB, free: 13.07 MB / 0.5419 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 (13): * Single equations (assignments): 13 * 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.702e-05/0.5481, allocations: 108.9 kB / 0.8695 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.5481, allocations: 11.84 kB / 0.8696 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.5484, allocations: 90.7 kB / 0.8696 GB, free: 12.86 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.5484, allocations: 4 kB / 0.8696 GB, free: 12.85 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5484, allocations: 0 / 0.8696 GB, free: 12.85 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.5484, allocations: 7.906 kB / 0.8696 GB, free: 12.84 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.5489, allocations: 327 kB / 0.87 GB, free: 12.48 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5489, allocations: 1.125 kB / 0.87 GB, free: 12.48 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.549, allocations: 16 kB / 0.87 GB, free: 12.46 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.549, allocations: 0 / 0.87 GB, free: 12.46 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.549, allocations: 0 / 0.87 GB, free: 12.46 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.5491, allocations: 11.89 kB / 0.87 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5491, allocations: 0 / 0.87 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002865/0.5494, allocations: 208.3 kB / 0.8702 GB, free: 12.23 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.5494, allocations: 85.09 kB / 0.8703 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.5495, allocations: 3.906 kB / 0.8703 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.5496, allocations: 3.984 kB / 0.8703 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.5496, allocations: 8.047 kB / 0.8703 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.5496, allocations: 8 kB / 0.8703 GB, free: 12.11 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.859e-05/0.5496, allocations: 80.48 kB / 0.8704 GB, free: 12.03 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003236/0.55, allocations: 51.94 kB / 0.8704 GB, free: 11.98 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000331/0.5503, allocations: 151.2 kB / 0.8706 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.5505, allocations: 61.45 kB / 0.8706 GB, free: 11.77 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5505, allocations: 0 / 0.8706 GB, free: 11.77 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.5505, allocations: 28 kB / 0.8706 GB, free: 11.74 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.5507, allocations: 6.344 kB / 0.8707 GB, free: 11.73 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.551, allocations: 123.3 kB / 0.8708 GB, free: 11.59 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.5513, allocations: 0.7114 MB / 0.8715 GB, free: 10.85 MB / 0.5419 GB Notification: Performance of SimCode: time 2.9e-07/0.5513, allocations: 0 / 0.8715 GB, free: 10.85 MB / 0.5419 GB Notification: Performance of Templates: time 0.004101/0.5555, allocations: 1.463 MB / 0.8729 GB, free: 9.426 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)