Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.524/1.524, allocations: 289.8 MB / 297 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 177.3 kB / 366.3 MB, free: 1.945 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 0.6256 GB, free: 5.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008039/0.0008039, allocations: 88.55 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.039e-05/1.048e-05, allocations: 4 kB / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.625/0.6251, allocations: 116.3 MB / 0.9726 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/0.7967, allocations: 138.1 MB / 1.107 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.797, allocations: 72.92 kB / 1.107 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01125/0.8083, allocations: 3.659 MB / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.8083, allocations: 0 / 1.111 GB, free: 6.672 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002701/0.8086, allocations: 338.4 kB / 1.111 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.8086, allocations: 12.03 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.8087, allocations: 0 / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.8088, allocations: 159.6 kB / 1.112 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.8088, allocations: 3.906 kB / 1.112 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-06/0.8088, allocations: 0 / 1.112 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.199e-05/0.8089, allocations: 0 / 1.112 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.448e-05/0.809, allocations: 33.64 kB / 1.112 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.809, allocations: 0 / 1.112 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.809, allocations: 4.656 kB / 1.112 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.809, allocations: 0 / 1.112 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.8091, allocations: 134.2 kB / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.205e-05/0.8092, allocations: 18.61 kB / 1.112 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.8092, allocations: 4.859 kB / 1.112 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004685/0.8097, allocations: 425.6 kB / 1.112 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.8097, allocations: 42.47 kB / 1.112 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.8097, allocations: 0.5625 kB / 1.112 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001466/0.8099, allocations: 33.64 kB / 1.112 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.8099, allocations: 51.41 kB / 1.112 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.423e-05/0.8099, allocations: 85 kB / 1.112 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.81, allocations: 25.7 kB / 1.112 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.81, allocations: 84.17 kB / 1.112 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.81, allocations: 0.75 kB / 1.112 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.81, allocations: 0 / 1.112 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.8102, allocations: 318.8 kB / 1.113 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-06/0.8102, allocations: 0 / 1.113 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-06/0.8102, allocations: 0 / 1.113 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.714e-05/0.8102, allocations: 0 / 1.113 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.8102, allocations: 7.906 kB / 1.113 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.089e-05/0.8103, allocations: 37.77 kB / 1.113 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.8103, allocations: 4.656 kB / 1.113 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.8103, allocations: 2.266 kB / 1.113 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.8103, allocations: 0 / 1.113 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.047e-05/0.8104, allocations: 7.938 kB / 1.113 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.8104, allocations: 0 / 1.113 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.8104, allocations: 3.938 kB / 1.113 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.8104, allocations: 0 / 1.113 GB, free: 4.586 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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 6.012e-05/0.8105, allocations: 105.9 kB / 1.113 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.8105, allocations: 11.94 kB / 1.113 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.162e-05/0.8106, allocations: 32.7 kB / 1.113 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.8106, allocations: 0 / 1.113 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.8107, allocations: 0 / 1.113 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.8107, allocations: 0 / 1.113 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.224e-05/0.8107, allocations: 130.2 kB / 1.113 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.8108, allocations: 0 / 1.113 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.8108, allocations: 0 / 1.113 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.8108, allocations: 3.938 kB / 1.113 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.8108, allocations: 5.312 kB / 1.113 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.8108, allocations: 0 / 1.113 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8108, allocations: 4 kB / 1.113 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.024e-05/0.8109, allocations: 61.06 kB / 1.113 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.8109, allocations: 77.11 kB / 1.113 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.811, allocations: 7.891 kB / 1.113 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-06/0.811, allocations: 4 kB / 1.113 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.811, allocations: 4.031 kB / 1.113 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.811, allocations: 0 / 1.113 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.65e-05/0.811, allocations: 75.28 kB / 1.113 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001913/0.8112, allocations: 15.94 kB / 1.113 GB, free: 3.973 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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.0001903/0.8114, allocations: 115.2 kB / 1.113 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.352e-05/0.8115, allocations: 4 kB / 1.113 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8115, allocations: 0 / 1.113 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-06/0.8115, allocations: 8.844 kB / 1.113 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.923e-05/0.8116, allocations: 8 kB / 1.113 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001404/0.8117, allocations: 40.08 kB / 1.113 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.812, allocations: 0.6802 MB / 1.114 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8121, allocations: 0 / 1.114 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of Templates: time 0.002058/0.8141, allocations: 450.3 kB / 1.115 GB, free: 2.637 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)