Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.393/2.393, allocations: 284.9 MB / 292.2 MB, free: 1.375 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001601, allocations: 179.3 kB / 360.4 MB, free: 15.67 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.1 MB / 0.6188 GB, free: 6.609 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001297/0.001296, allocations: 96.64 kB / 0.7318 GB, free: 46.96 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/3.002e-05, allocations: 4 kB / 0.8503 GB, free: 13.7 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5909/0.5909, allocations: 115.2 MB / 0.9628 GB, free: 86.36 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/0.7949, allocations: 137.2 MB / 1.097 GB, free: 13.18 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.7953, allocations: 80.5 kB / 1.097 GB, free: 13.1 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.02573/0.821, allocations: 4.692 MB / 1.101 GB, free: 8.469 MB / 0.7061 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.8211, allocations: 0 / 1.101 GB, free: 8.469 MB / 0.7061 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.0005591/0.8217, allocations: 358.4 kB / 1.102 GB, free: 8.074 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.8217, allocations: 8.031 kB / 1.102 GB, free: 8.066 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.8218, allocations: 7.906 kB / 1.102 GB, free: 8.059 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.822, allocations: 171.9 kB / 1.102 GB, free: 7.852 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.822, allocations: 0 / 1.102 GB, free: 7.852 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.822, allocations: 7.906 kB / 1.102 GB, free: 7.844 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.95e-05/0.8221, allocations: 22.22 kB / 1.102 GB, free: 7.824 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.8223, allocations: 43.03 kB / 1.102 GB, free: 7.777 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.8223, allocations: 0 / 1.102 GB, free: 7.777 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.8223, allocations: 0 / 1.102 GB, free: 7.777 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.8223, allocations: 4.5 kB / 1.102 GB, free: 7.773 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/0.8226, allocations: 139 kB / 1.102 GB, free: 7.602 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.488e-05/0.8227, allocations: 35.95 kB / 1.102 GB, free: 7.562 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.476e-05/0.8227, allocations: 29.52 kB / 1.102 GB, free: 7.531 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.8238, allocations: 462 kB / 1.103 GB, free: 6.988 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.824, allocations: 38.5 kB / 1.103 GB, free: 6.941 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=7): time 2.645e-06/0.824, allocations: 0 / 1.103 GB, free: 6.941 MB / 0.7061 GB Notification: Performance of matching and sorting (n=11): time 0.001915/0.8259, allocations: 0.5168 MB / 1.103 GB, free: 6.332 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.826, allocations: 51.41 kB / 1.103 GB, free: 6.27 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.932e-05/0.8261, allocations: 96.98 kB / 1.103 GB, free: 6.168 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.8261, allocations: 25.7 kB / 1.103 GB, free: 6.137 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.8262, allocations: 83.14 kB / 1.103 GB, free: 6.055 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 6.318e-05/0.8263, allocations: 39.45 kB / 1.103 GB, free: 6.016 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.8263, allocations: 0 / 1.103 GB, free: 6.016 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8265, allocations: 314.8 kB / 1.104 GB, free: 5.699 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.8266, allocations: 20 kB / 1.104 GB, free: 5.68 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.8267, allocations: 16 kB / 1.104 GB, free: 5.664 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.8269, allocations: 23.98 kB / 1.104 GB, free: 5.641 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.8269, allocations: 0 / 1.104 GB, free: 5.641 MB / 0.7061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004291/0.8273, allocations: 93.53 kB / 1.104 GB, free: 5.543 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.8274, allocations: 4.625 kB / 1.104 GB, free: 5.539 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.8274, allocations: 0 / 1.104 GB, free: 5.539 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.8274, allocations: 0 / 1.104 GB, free: 5.539 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.8277, allocations: 27.98 kB / 1.104 GB, free: 5.512 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.8277, allocations: 0 / 1.104 GB, free: 5.512 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.8278, allocations: 0 / 1.104 GB, free: 5.512 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.8278, allocations: 4 kB / 1.104 GB, free: 5.508 MB / 0.7061 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 0.0001194/0.828, allocations: 114.2 kB / 1.104 GB, free: 5.391 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.8281, allocations: 7.984 kB / 1.104 GB, free: 5.383 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.8285, allocations: 99.55 kB / 1.104 GB, free: 5.281 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.8286, allocations: 4.625 kB / 1.104 GB, free: 5.277 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.8286, allocations: 0 / 1.104 GB, free: 5.277 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.8286, allocations: 0 / 1.104 GB, free: 5.277 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007446/0.8293, allocations: 325.8 kB / 1.104 GB, free: 4.918 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.8294, allocations: 2.312 kB / 1.104 GB, free: 4.918 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.8297, allocations: 27.89 kB / 1.105 GB, free: 4.891 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.8297, allocations: 3.984 kB / 1.105 GB, free: 4.887 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.8297, allocations: 4 kB / 1.105 GB, free: 4.883 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.8297, allocations: 0 / 1.105 GB, free: 4.883 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8297, allocations: 0 / 1.105 GB, free: 4.883 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005313/0.8303, allocations: 203.4 kB / 1.105 GB, free: 4.668 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.8304, allocations: 89 kB / 1.105 GB, free: 4.562 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.8305, allocations: 3.938 kB / 1.105 GB, free: 4.559 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.8307, allocations: 12.06 kB / 1.105 GB, free: 4.547 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.8307, allocations: 4.641 kB / 1.105 GB, free: 4.543 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.8307, allocations: 4 kB / 1.105 GB, free: 4.539 MB / 0.7061 GB Notification: Performance of sort global known variables: time 5.67e-05/0.8308, allocations: 79.39 kB / 1.105 GB, free: 4.461 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.0006427/0.8315, allocations: 47.88 kB / 1.105 GB, free: 4.414 MB / 0.7061 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.0004618/0.8319, allocations: 159.1 kB / 1.105 GB, free: 4.25 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.8322, allocations: 51.94 kB / 1.105 GB, free: 4.199 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8322, allocations: 0 / 1.105 GB, free: 4.199 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 9.428e-05/0.8323, allocations: 30.53 kB / 1.105 GB, free: 4.172 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.8326, allocations: 8 kB / 1.105 GB, free: 4.164 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.8332, allocations: 121.1 kB / 1.105 GB, free: 4.023 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/0.8337, allocations: 0.7036 MB / 1.106 GB, free: 3.293 MB / 0.7061 GB Notification: Performance of SimCode: time 9.52e-07/0.8337, allocations: 0 / 1.106 GB, free: 3.293 MB / 0.7061 GB Notification: Performance of Templates: time 0.007277/0.841, allocations: 1.459 MB / 1.107 GB, free: 1.875 MB / 0.7061 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)