Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [: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 9.1.1-maint.9.1.x/package.mo): time 1.908/1.908, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009764/0.0009765, allocations: 179.9 kB / 487 MB, free: 5.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 221.3 MB / 0.7819 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009587, allocations: 98.12 kB / 0.9213 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4514/0.4524, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.663, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.537/1.2, allocations: 149.2 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/1.2, allocations: 72.62 kB / 1.351 GB, free: 15.82 MB / 0.8073 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.00518/1.206, allocations: 1.818 MB / 1.353 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/1.206, allocations: 9.75 kB / 1.353 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/1.206, allocations: 14.84 kB / 1.353 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/1.206, allocations: 194.7 kB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/1.206, allocations: 2.781 kB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/1.206, allocations: 2.719 kB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001482/1.206, allocations: 63.27 kB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/1.206, allocations: 85.69 kB / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/1.206, allocations: 4.938 kB / 1.353 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/1.206, allocations: 3.984 kB / 1.353 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.206, allocations: 7.047 kB / 1.353 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/1.207, allocations: 364 kB / 1.354 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/1.207, allocations: 41.59 kB / 1.354 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.847e-05/1.207, allocations: 34.45 kB / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/1.207, allocations: 3.594 kB / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/1.207, allocations: 32.61 kB / 1.354 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/1.207, allocations: 4 kB / 1.354 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0002632/1.207, allocations: 97.8 kB / 1.354 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/1.207, allocations: 56.97 kB / 1.354 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/1.207, allocations: 112.3 kB / 1.354 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/1.207, allocations: 26.45 kB / 1.354 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/1.207, allocations: 102.6 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/1.207, allocations: 19.27 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-06/1.207, allocations: 0.6562 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.164e-05/1.207, allocations: 323.4 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.561e-05/1.207, allocations: 25.08 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/1.208, allocations: 22.56 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.615e-05/1.208, allocations: 31.44 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.208, allocations: 0 / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001695/1.208, allocations: 100.8 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/1.208, allocations: 6.812 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/1.208, allocations: 3.938 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/1.208, allocations: 1.672 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/1.208, allocations: 26 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/1.208, allocations: 4.688 kB / 1.355 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/1.208, allocations: 12.28 kB / 1.355 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/1.208, allocations: 4.203 kB / 1.355 GB, free: 14.06 MB / 0.8073 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 4.289e-05/1.208, allocations: 105.9 kB / 1.355 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/1.208, allocations: 12.48 kB / 1.355 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/1.208, allocations: 120.5 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.208, allocations: 0.9688 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.208, allocations: 0.8125 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.209, allocations: 0.6094 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/1.209, allocations: 181.1 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.209, allocations: 0 / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/1.209, allocations: 33.44 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.209, allocations: 1.391 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/1.209, allocations: 1.406 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.209, allocations: 1.578 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.209, allocations: 0 / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001914/1.209, allocations: 191.3 kB / 1.355 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002197/1.209, allocations: 0.5641 MB / 1.356 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/1.209, allocations: 88.75 kB / 1.356 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/1.209, allocations: 0 / 1.356 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/1.209, allocations: 12.08 kB / 1.356 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/1.21, allocations: 8.297 kB / 1.356 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/1.21, allocations: 13.17 kB / 1.356 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.972e-05/1.21, allocations: 100.6 kB / 1.356 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007893/1.21, allocations: 17.03 kB / 1.356 GB, free: 12.9 MB / 0.8073 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.0001056/1.21, allocations: 98.34 kB / 1.356 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001393/1.211, allocations: 73.17 kB / 1.356 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/1.211, allocations: 0 / 1.356 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.09e-05/1.211, allocations: 42.95 kB / 1.356 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/1.211, allocations: 4.781 kB / 1.356 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/1.211, allocations: 135.6 kB / 1.356 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/1.211, allocations: 0.7208 MB / 1.357 GB, free: 28.02 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.211, allocations: 0 / 1.357 GB, free: 28.02 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)