Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4869/0.4869, allocations: 94.74 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001072/0.001072, allocations: 176.6 kB / 125.3 MB, free: 11.97 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.248/1.248, allocations: 170.5 MB / 319 MB, free: 9.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001638/0.001638, allocations: 106.8 kB / 381 MB, free: 18.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.037e-05, allocations: 4 kB / 448.6 MB, free: 2.066 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1525, allocations: 61.52 MB / 0.4981 GB, free: 4.457 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4064/0.559, allocations: 92.87 MB / 0.5888 GB, free: 9.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.5593, allocations: 81.53 kB / 0.5889 GB, free: 9.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01153/0.5709, allocations: 3.658 MB / 0.5925 GB, free: 5.777 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.5709, allocations: 0 / 0.5925 GB, free: 5.777 MB / 410.7 MB 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.0003357/0.5713, allocations: 348.6 kB / 0.5928 GB, free: 5.395 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5713, allocations: 8.031 kB / 0.5928 GB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.5714, allocations: 8.828 kB / 0.5928 GB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.5715, allocations: 160.6 kB / 0.593 GB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.5715, allocations: 1 kB / 0.593 GB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.5716, allocations: 0 / 0.593 GB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.098e-05/0.5716, allocations: 8.719 kB / 0.593 GB, free: 5.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.477e-05/0.5717, allocations: 38.67 kB / 0.593 GB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.5717, allocations: 0 / 0.593 GB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.5717, allocations: 0.6562 kB / 0.593 GB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.5717, allocations: 3.391 kB / 0.593 GB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.5719, allocations: 134.1 kB / 0.5932 GB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.11e-05/0.572, allocations: 18.61 kB / 0.5932 GB, free: 4.941 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.572, allocations: 8.859 kB / 0.5932 GB, free: 4.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006689/0.5727, allocations: 462.9 kB / 0.5936 GB, free: 4.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.5727, allocations: 31.72 kB / 0.5937 GB, free: 4.352 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5727, allocations: 0 / 0.5937 GB, free: 4.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006962/0.5734, allocations: 244.9 kB / 0.5939 GB, free: 4.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.5735, allocations: 52.41 kB / 0.5939 GB, free: 4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.5736, allocations: 91.03 kB / 0.594 GB, free: 3.906 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.5736, allocations: 25.7 kB / 0.594 GB, free: 3.875 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.5736, allocations: 88.12 kB / 0.5941 GB, free: 3.785 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.5736, allocations: 8.375 kB / 0.5941 GB, free: 3.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.5737, allocations: 256 / 0.5941 GB, free: 3.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5738, allocations: 318.8 kB / 0.5944 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.5738, allocations: 4 kB / 0.5944 GB, free: 3.453 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.868e-05/0.5739, allocations: 17.66 kB / 0.5945 GB, free: 3.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.62e-05/0.5739, allocations: 11.98 kB / 0.5945 GB, free: 3.418 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5739, allocations: 0 / 0.5945 GB, free: 3.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00012/0.5741, allocations: 49.55 kB / 0.5945 GB, free: 3.363 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5741, allocations: 11.62 kB / 0.5945 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.5741, allocations: 4 kB / 0.5945 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5741, allocations: 0 / 0.5945 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.5742, allocations: 7.984 kB / 0.5945 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.5742, allocations: 3.938 kB / 0.5946 GB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.5742, allocations: 4 kB / 0.5946 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-06/0.5743, allocations: 0 / 0.5946 GB, free: 3.336 MB / 410.7 MB 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 7.659e-05/0.5743, allocations: 108.9 kB / 0.5947 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.5744, allocations: 4 kB / 0.5947 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.5745, allocations: 53.14 kB / 0.5947 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.5745, allocations: 0 / 0.5947 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5746, allocations: 0 / 0.5947 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5746, allocations: 0.9375 kB / 0.5947 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.5747, allocations: 138.1 kB / 0.5948 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5747, allocations: 0 / 0.5948 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.5747, allocations: 7.984 kB / 0.5949 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5748, allocations: 0 / 0.5949 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5748, allocations: 4 kB / 0.5949 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5748, allocations: 5.25 kB / 0.5949 GB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5748, allocations: 4 kB / 0.5949 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001641/0.575, allocations: 77.03 kB / 0.5949 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.575, allocations: 77.11 kB / 0.595 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.575, allocations: 0 / 0.595 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.871e-05/0.5751, allocations: 4 kB / 0.595 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.5751, allocations: 4.031 kB / 0.595 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.5751, allocations: 0 / 0.595 GB, free: 2.777 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.359e-05/0.5752, allocations: 83.34 kB / 0.5951 GB, free: 2.695 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003135/0.5755, allocations: 35.84 kB / 0.5951 GB, free: 2.66 MB / 410.7 MB 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.0002602/0.5758, allocations: 132.8 kB / 0.5953 GB, free: 2.523 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.207e-05/0.5759, allocations: 15.94 kB / 0.5953 GB, free: 2.508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.5759, allocations: 4 kB / 0.5953 GB, free: 2.504 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.39e-05/0.5759, allocations: 7.984 kB / 0.5953 GB, free: 2.496 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.576, allocations: 0 / 0.5953 GB, free: 2.496 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.5763, allocations: 70 kB / 0.5954 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.5766, allocations: 0.6876 MB / 0.596 GB, free: 1.695 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5766, allocations: 3.938 kB / 0.596 GB, free: 1.691 MB / 410.7 MB Notification: Performance of Templates: time 0.003686/0.5803, allocations: 0.8421 MB / 0.5969 GB, free: 0.8867 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)