Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") [: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/Complex 4.0.0+maint.om/package.mo): time 0.0009901/0.0009902, allocations: 193.3 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4398/0.4398, allocations: 90.85 MB / 99.07 MB, free: 14.9 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 221.4 MB / 342.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009361/0.0009362, allocations: 95.17 kB / 415.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.294e-05/1.304e-05, allocations: 4 kB / 493.9 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3249, allocations: 72.3 MB / 0.5529 GB, free: 44.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.4413, allocations: 101.5 MB / 0.652 GB, free: 7.148 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.4416, allocations: 72.67 kB / 0.6521 GB, free: 7.078 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.004981/0.4466, allocations: 1.445 MB / 0.6535 GB, free: 5.637 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.4466, allocations: 0 / 0.6535 GB, free: 5.637 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004096/0.447, allocations: 382.2 kB / 0.6538 GB, free: 5.219 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4471, allocations: 14 kB / 0.6538 GB, free: 5.207 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.4471, allocations: 7.906 kB / 0.6539 GB, free: 5.199 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.4473, allocations: 190.9 kB / 0.654 GB, free: 4.973 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.4473, allocations: 11.91 kB / 0.654 GB, free: 4.961 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.4474, allocations: 4.75 kB / 0.6541 GB, free: 4.957 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001453/0.4475, allocations: 67.91 kB / 0.6541 GB, free: 4.891 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.4477, allocations: 81.66 kB / 0.6542 GB, free: 4.805 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4477, allocations: 0 / 0.6542 GB, free: 4.805 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.4477, allocations: 0 / 0.6542 GB, free: 4.805 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4477, allocations: 7.938 kB / 0.6542 GB, free: 4.797 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.4483, allocations: 361 kB / 0.6545 GB, free: 4.406 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.634e-05/0.4483, allocations: 42.58 kB / 0.6546 GB, free: 4.355 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.4484, allocations: 37.53 kB / 0.6546 GB, free: 4.316 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.4485, allocations: 3.984 kB / 0.6546 GB, free: 4.312 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.4485, allocations: 34.56 kB / 0.6547 GB, free: 4.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4485, allocations: 0 / 0.6547 GB, free: 4.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002507/0.4487, allocations: 106.1 kB / 0.6548 GB, free: 4.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.4488, allocations: 51.41 kB / 0.6548 GB, free: 4.098 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.282e-05/0.4489, allocations: 117.2 kB / 0.6549 GB, free: 3.973 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.4489, allocations: 29.7 kB / 0.655 GB, free: 3.938 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.4489, allocations: 96.3 kB / 0.655 GB, free: 3.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.449, allocations: 13.97 kB / 0.6551 GB, free: 3.828 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.449, allocations: 0 / 0.6551 GB, free: 3.828 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.4491, allocations: 326.7 kB / 0.6554 GB, free: 3.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/0.4491, allocations: 20 kB / 0.6554 GB, free: 3.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.4492, allocations: 23.98 kB / 0.6554 GB, free: 3.457 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.079e-05/0.4492, allocations: 31.98 kB / 0.6554 GB, free: 3.426 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4492, allocations: 4 kB / 0.6554 GB, free: 3.422 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001634/0.4494, allocations: 98.19 kB / 0.6555 GB, free: 3.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.4494, allocations: 6.812 kB / 0.6555 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4494, allocations: 0 / 0.6555 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.4495, allocations: 0 / 0.6555 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.4496, allocations: 28.8 kB / 0.6556 GB, free: 3.289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4496, allocations: 3.984 kB / 0.6556 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.4497, allocations: 15.98 kB / 0.6556 GB, free: 3.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.4497, allocations: 11.89 kB / 0.6556 GB, free: 3.258 MB / 474.7 MB 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 (6): * Single equations (assignments): 6 * 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.348e-05/0.4498, allocations: 101 kB / 0.6557 GB, free: 3.152 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.4499, allocations: 7.906 kB / 0.6557 GB, free: 3.145 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.4501, allocations: 118.4 kB / 0.6558 GB, free: 3.023 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4501, allocations: 4 kB / 0.6558 GB, free: 3.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4501, allocations: 4 kB / 0.6558 GB, free: 3.016 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4502, allocations: 0 / 0.6558 GB, free: 3.016 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.4503, allocations: 182 kB / 0.656 GB, free: 2.801 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4503, allocations: 3.984 kB / 0.656 GB, free: 2.797 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.4505, allocations: 25.05 kB / 0.656 GB, free: 2.773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4505, allocations: 3.938 kB / 0.656 GB, free: 2.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4505, allocations: 4 kB / 0.656 GB, free: 2.766 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4505, allocations: 4 kB / 0.656 GB, free: 2.762 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4505, allocations: 0 / 0.656 GB, free: 2.762 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001937/0.4507, allocations: 195.3 kB / 0.6562 GB, free: 2.555 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.4507, allocations: 85.02 kB / 0.6563 GB, free: 2.453 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.4508, allocations: 0 / 0.6563 GB, free: 2.453 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.4509, allocations: 15.98 kB / 0.6563 GB, free: 2.438 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.4509, allocations: 7.984 kB / 0.6563 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.451, allocations: 0 / 0.6563 GB, free: 2.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.843e-05/0.451, allocations: 99.27 kB / 0.6564 GB, free: 2.332 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.4512, allocations: 24.75 kB / 0.6564 GB, free: 2.309 MB / 474.7 MB 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 (6): * Single equations (assignments): 6 * 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.0001241/0.4514, allocations: 99.19 kB / 0.6565 GB, free: 2.203 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.4515, allocations: 71.97 kB / 0.6566 GB, free: 2.133 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4515, allocations: 0 / 0.6566 GB, free: 2.133 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.293e-05/0.4516, allocations: 43.98 kB / 0.6567 GB, free: 2.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.4517, allocations: 7.953 kB / 0.6567 GB, free: 2.082 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.4521, allocations: 143.4 kB / 0.6568 GB, free: 1.922 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.4523, allocations: 0.7192 MB / 0.6575 GB, free: 1.176 MB / 474.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4523, allocations: 0 / 0.6575 GB, free: 1.176 MB / 474.7 MB Notification: Performance of Templates: time 0.002725/0.4551, allocations: 0.7824 MB / 0.6583 GB, free: 432 kB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)