Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.264/1.264, allocations: 249.4 MB / 256.7 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001002, allocations: 184.5 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.184/1.184, allocations: 205.1 MB / 0.5667 GB, free: 15.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008687/0.0008684, allocations: 89.45 kB / 0.671 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3561/0.357, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.5248, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4759/1.001, allocations: 132.7 MB / 1.014 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/1.001, allocations: 73.95 kB / 1.014 GB, free: 6.047 MB / 0.6355 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.00491/1.006, allocations: 1.767 MB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/1.006, allocations: 12 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/1.006, allocations: 7.906 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/1.006, allocations: 204.4 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-06/1.006, allocations: 0 / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/1.006, allocations: 8 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001316/1.006, allocations: 60.73 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/1.006, allocations: 82.39 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.006, allocations: 3.984 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/1.007, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.007, allocations: 7.938 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/1.007, allocations: 363.2 kB / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.828e-05/1.007, allocations: 45.06 kB / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/1.007, allocations: 38.84 kB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/1.007, allocations: 0 / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/1.007, allocations: 42.41 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/1.007, allocations: 0 / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002298/1.007, allocations: 91.89 kB / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/1.007, allocations: 51.41 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/1.008, allocations: 116.8 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/1.008, allocations: 29.7 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/1.008, allocations: 99.03 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/1.008, allocations: 19.78 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-06/1.008, allocations: 0 / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/1.008, allocations: 318.3 kB / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/1.008, allocations: 26.17 kB / 1.018 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.765e-05/1.008, allocations: 27.05 kB / 1.018 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.727e-05/1.008, allocations: 23.55 kB / 1.018 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/1.008, allocations: 0 / 1.018 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001563/1.008, allocations: 110.6 kB / 1.018 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/1.008, allocations: 4 kB / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/1.008, allocations: 0 / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/1.008, allocations: 4 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/1.008, allocations: 23.55 kB / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/1.008, allocations: 0 / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/1.008, allocations: 20.55 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/1.008, allocations: 4 kB / 1.018 GB, free: 2.668 MB / 0.6355 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 5.153e-05/1.008, allocations: 101 kB / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/1.009, allocations: 7.906 kB / 1.018 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/1.009, allocations: 125 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/1.009, allocations: 0 / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/1.009, allocations: 0 / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.009, allocations: 11.84 kB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/1.009, allocations: 177 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.009, allocations: 0 / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/1.009, allocations: 19.98 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.009, allocations: 7.938 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/1.009, allocations: 3.984 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.009, allocations: 0 / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.009, allocations: 0 / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001856/1.009, allocations: 207.1 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002778/1.01, allocations: 0.5625 MB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/1.01, allocations: 81.02 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/1.01, allocations: 3.906 kB / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/1.01, allocations: 19.98 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/1.01, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/1.01, allocations: 11.42 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.204e-05/1.01, allocations: 96.28 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007648/1.011, allocations: 15.91 kB / 1.019 GB, free: 1.219 MB / 0.6355 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.0001082/1.011, allocations: 107.2 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001226/1.011, allocations: 72.05 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/1.011, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.221e-05/1.011, allocations: 41.92 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/1.011, allocations: 7.422 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/1.011, allocations: 136.4 kB / 1.02 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/1.012, allocations: 0.7186 MB / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of SimCode: time 3.11e-07/1.012, allocations: 0 / 1.02 GB, free: 132 kB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)