Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [: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.246/2.246, allocations: 284.9 MB / 292.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001673/0.001672, allocations: 177.2 kB / 360.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.1 MB / 0.6188 GB, free: 12.39 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001289/0.001288, allocations: 88.61 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.421e-05/1.435e-05, allocations: 4 kB / 0.8502 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5755/0.5755, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2109/0.7865, allocations: 137 MB / 1.097 GB, free: 3.688 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.7869, allocations: 76.47 kB / 1.097 GB, free: 3.613 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02241/0.8093, allocations: 4.167 MB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.8094, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 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.0004018/0.8098, allocations: 348.7 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.8099, allocations: 9.156 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.81, allocations: 4.531 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.8101, allocations: 163.6 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.8101, allocations: 4 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.8102, allocations: 4.547 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.379e-05/0.8102, allocations: 0 / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.861e-05/0.8103, allocations: 30.42 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8103, allocations: 0.6562 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.8103, allocations: 4.625 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.8103, allocations: 0 / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.8105, allocations: 134.9 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.953e-05/0.8106, allocations: 23.42 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.8106, allocations: 9.453 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009535/0.8116, allocations: 467.2 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.8117, allocations: 30.56 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 3.827e-06/0.8117, allocations: 0 / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0007341/0.8124, allocations: 242.3 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.8125, allocations: 55.41 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.716e-05/0.8126, allocations: 89.12 kB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.8126, allocations: 25.7 kB / 1.102 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.8126, allocations: 82.11 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.8127, allocations: 15.89 kB / 1.102 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.8127, allocations: 0 / 1.102 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8128, allocations: 314.8 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.8129, allocations: 4 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.8129, allocations: 17.72 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.98e-05/0.813, allocations: 8.125 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.813, allocations: 0 / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001732/0.8132, allocations: 53.62 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.8132, allocations: 4 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.8132, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.8132, allocations: 4.141 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.072e-05/0.8133, allocations: 7.938 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.8134, allocations: 0.8594 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.8134, allocations: 3.984 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.8134, allocations: 12.05 kB / 1.103 GB, free: 13.06 MB / 0.7136 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 0.0001309/0.8136, allocations: 108.7 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.8136, allocations: 4 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.8139, allocations: 62.95 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-06/0.8139, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8139, allocations: 4 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8139, allocations: 3.906 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.814, allocations: 134.2 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.814, allocations: 0 / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.852e-05/0.8141, allocations: 4 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.8142, allocations: 0 / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.8142, allocations: 7.984 kB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8142, allocations: 0 / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8142, allocations: 0 / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002119/0.8144, allocations: 79.22 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.8145, allocations: 77.11 kB / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.8145, allocations: 0 / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.8146, allocations: 7.938 kB / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.8146, allocations: 3.906 kB / 1.103 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.8146, allocations: 0 / 1.103 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.111e-05/0.8147, allocations: 87.31 kB / 1.103 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003337/0.815, allocations: 31.94 kB / 1.103 GB, free: 12.38 MB / 0.7136 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.0002798/0.8153, allocations: 139.3 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.695e-05/0.8154, allocations: 16 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8154, allocations: 0 / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.8155, allocations: 7.938 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.8156, allocations: 4 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.8159, allocations: 65.08 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.8162, allocations: 0.6954 MB / 1.104 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of SimCode: time 8.81e-07/0.8162, allocations: 4.125 kB / 1.104 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.004125/0.8203, allocations: 0.8729 MB / 1.105 GB, free: 10.55 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)