Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.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.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001162/0.001162, allocations: 173.3 kB / 366.3 MB, free: 1.949 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.464/1.464, allocations: 205.1 MB / 0.6256 GB, free: 7.43 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.001008/0.001008, allocations: 96.09 kB / 0.7396 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.756e-06/8.917e-06, allocations: 4 kB / 0.859 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5481/0.5481, allocations: 116.3 MB / 0.9726 GB, free: 76.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.7113, allocations: 138.9 MB / 1.108 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.7116, allocations: 78.88 kB / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004738/0.7163, allocations: 1.379 MB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.7164, allocations: 4 kB / 1.11 GB, free: 10.09 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003999/0.7168, allocations: 385.5 kB / 1.11 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.7168, allocations: 8.625 kB / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.7169, allocations: 21.92 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.7171, allocations: 200 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.7171, allocations: 3.984 kB / 1.11 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.7171, allocations: 4 kB / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001429/0.7173, allocations: 64.94 kB / 1.11 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.7174, allocations: 89.56 kB / 1.11 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.7174, allocations: 6.516 kB / 1.11 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.7174, allocations: 3.938 kB / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7174, allocations: 0.5 kB / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.718, allocations: 356 kB / 1.111 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.212e-05/0.7181, allocations: 46.5 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.7182, allocations: 32.98 kB / 1.111 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.7182, allocations: 4 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.7183, allocations: 38.55 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.7183, allocations: 0 / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002583/0.7185, allocations: 89.58 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.7186, allocations: 60.34 kB / 1.111 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.986e-05/0.7187, allocations: 116.1 kB / 1.111 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.7187, allocations: 25.7 kB / 1.111 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.7187, allocations: 96.22 kB / 1.111 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.7188, allocations: 19.8 kB / 1.111 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.7188, allocations: 0 / 1.111 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7189, allocations: 322.8 kB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.7189, allocations: 23.98 kB / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.279e-05/0.719, allocations: 27.94 kB / 1.112 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.807e-05/0.7191, allocations: 31.97 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.7191, allocations: 0.5625 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001671/0.7193, allocations: 99.61 kB / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.7193, allocations: 8 kB / 1.112 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.7193, allocations: 0 / 1.112 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.7193, allocations: 0 / 1.112 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.7195, allocations: 31.91 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.7195, allocations: 0.6562 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.7196, allocations: 11.98 kB / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.7196, allocations: 4 kB / 1.112 GB, free: 7.715 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 (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 6.577e-05/0.7197, allocations: 109 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.7197, allocations: 11.75 kB / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.72, allocations: 120.2 kB / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.72, allocations: 0 / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.72, allocations: 4.734 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.72, allocations: 0 / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.7202, allocations: 182 kB / 1.112 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7202, allocations: 0 / 1.112 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.7203, allocations: 31.98 kB / 1.112 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.7203, allocations: 0 / 1.112 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.7203, allocations: 0 / 1.112 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7203, allocations: 0 / 1.112 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.7203, allocations: 4.922 kB / 1.112 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002046/0.7205, allocations: 192.9 kB / 1.112 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.7206, allocations: 89 kB / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.7206, allocations: 7.906 kB / 1.113 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.7207, allocations: 8 kB / 1.113 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.7208, allocations: 7.984 kB / 1.113 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.7208, allocations: 4 kB / 1.113 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.591e-05/0.7209, allocations: 101.1 kB / 1.113 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002388/0.7211, allocations: 16 kB / 1.113 GB, free: 6.762 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 (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.0001164/0.7212, allocations: 101.7 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.7214, allocations: 80.94 kB / 1.113 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7214, allocations: 0 / 1.113 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.7214, allocations: 35.98 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.7216, allocations: 7.906 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.7219, allocations: 135.5 kB / 1.113 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.7222, allocations: 0.7231 MB / 1.114 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of SimCode: time 1.473e-06/0.7223, allocations: 0 / 1.114 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of Templates: time 0.002657/0.7249, allocations: 0.7923 MB / 1.114 GB, free: 4.871 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)