Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.48/2.48, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001672/0.001672, allocations: 181.3 kB / 360.3 MB, free: 7.531 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.948/1.948, allocations: 205.2 MB / 0.6187 GB, free: 13.18 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.001303/0.001302, allocations: 90.77 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3162/0.3175, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/1.026, allocations: 115.2 MB / 0.9627 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/1.257, allocations: 137.8 MB / 1.097 GB, free: 2.969 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.257, allocations: 72.53 kB / 1.097 GB, free: 2.898 MB / 0.698 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.008573/1.266, allocations: 1.778 MB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.266, allocations: 8.5 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/1.266, allocations: 11.81 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/1.266, allocations: 198.8 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/1.266, allocations: 0 / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/1.266, allocations: 7.984 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002588/1.266, allocations: 63.92 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/1.267, allocations: 89.55 kB / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.267, allocations: 0 / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/1.267, allocations: 0 / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.267, allocations: 4 kB / 1.099 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/1.268, allocations: 361.1 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/1.268, allocations: 42.56 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/1.269, allocations: 36.97 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.061e-05/1.269, allocations: 7.984 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/1.269, allocations: 30.56 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 3.347e-06/1.269, allocations: 4 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0006849/1.269, allocations: 99.62 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.27, allocations: 55.34 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/1.27, allocations: 116.5 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/1.27, allocations: 25.7 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/1.27, allocations: 92.23 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/1.27, allocations: 27.78 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/1.27, allocations: 0 / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002166/1.27, allocations: 322.8 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/1.27, allocations: 24 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/1.271, allocations: 23.98 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/1.271, allocations: 27.98 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/1.271, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005695/1.271, allocations: 105.5 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/1.272, allocations: 4 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.272, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/1.272, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/1.272, allocations: 23.98 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.272, allocations: 3.938 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/1.272, allocations: 15.98 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/1.273, allocations: 0 / 1.101 GB, free: 15.18 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 0.0001603/1.273, allocations: 117.7 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.273, allocations: 17.62 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007246/1.274, allocations: 118.1 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.274, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.274, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/1.274, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/1.274, allocations: 182 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.274, allocations: 0 / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/1.275, allocations: 33.16 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/1.275, allocations: 0 / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/1.275, allocations: 0 / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/1.275, allocations: 0 / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.275, allocations: 4 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007554/1.276, allocations: 196.7 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008025/1.276, allocations: 0.5661 MB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/1.277, allocations: 85.02 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/1.277, allocations: 0 / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/1.277, allocations: 11.98 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/1.277, allocations: 7.984 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/1.277, allocations: 1.688 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001308/1.277, allocations: 104.5 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002442/1.28, allocations: 19.91 kB / 1.102 GB, free: 13.64 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.0003096/1.28, allocations: 95.25 kB / 1.102 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003849/1.281, allocations: 71.97 kB / 1.102 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.281, allocations: 4 kB / 1.102 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/1.281, allocations: 39.92 kB / 1.102 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/1.281, allocations: 4.938 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007705/1.282, allocations: 132.3 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/1.282, allocations: 0.7192 MB / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of SimCode: time 1.243e-06/1.282, allocations: 3.938 kB / 1.103 GB, free: 12.52 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)