Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.554/2.554, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.003254/0.003254, allocations: 181.2 kB / 360.3 MB, free: 7.547 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.82/1.82, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001342/0.001341, allocations: 86.59 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2781/0.2795, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5984/0.8779, allocations: 115.2 MB / 0.9628 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2159/1.094, allocations: 136.2 MB / 1.096 GB, free: 4.625 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/1.094, allocations: 72.66 kB / 1.096 GB, free: 4.555 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002774/1.097, allocations: 0.5825 MB / 1.096 GB, free: 3.941 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/1.097, allocations: 8.719 kB / 1.096 GB, free: 3.934 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/1.097, allocations: 7.906 kB / 1.096 GB, free: 3.926 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/1.097, allocations: 172.8 kB / 1.097 GB, free: 3.719 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/1.097, allocations: 3.938 kB / 1.097 GB, free: 3.715 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/1.097, allocations: 3.875 kB / 1.097 GB, free: 3.715 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001034/1.097, allocations: 20 kB / 1.097 GB, free: 3.695 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/1.098, allocations: 60.66 kB / 1.097 GB, free: 3.633 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.098, allocations: 0 / 1.097 GB, free: 3.633 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/1.098, allocations: 0 / 1.097 GB, free: 3.633 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/1.098, allocations: 8.422 kB / 1.097 GB, free: 3.625 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/1.098, allocations: 248.7 kB / 1.097 GB, free: 3.348 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/1.098, allocations: 20.33 kB / 1.097 GB, free: 3.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/1.098, allocations: 8.922 kB / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/1.098, allocations: 0 / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.098, allocations: 31.88 kB / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.104e-06/1.098, allocations: 0.7969 kB / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001987/1.098, allocations: 37.61 kB / 1.097 GB, free: 3.227 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/1.099, allocations: 83.62 kB / 1.097 GB, free: 3.129 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/1.099, allocations: 105 kB / 1.097 GB, free: 3.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/1.099, allocations: 25.7 kB / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/1.099, allocations: 103.8 kB / 1.097 GB, free: 2.883 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/1.099, allocations: 7.906 kB / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/1.099, allocations: 3.469 kB / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.099, allocations: 310.8 kB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/1.099, allocations: 11.98 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/1.099, allocations: 54.81 kB / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.298e-05/1.099, allocations: 22.58 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.099, allocations: 0.625 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002122/1.1, allocations: 87.48 kB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.1, allocations: 8 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.1, allocations: 0.5625 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.1, allocations: 4 kB / 1.098 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/1.1, allocations: 16.52 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.1, allocations: 4.656 kB / 1.098 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/1.1, allocations: 12.56 kB / 1.098 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/1.1, allocations: 4 kB / 1.098 GB, free: 2.316 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001187/1.1, allocations: 142.1 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/1.1, allocations: 4 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/1.1, allocations: 4.719 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/1.1, allocations: 9.375 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/1.1, allocations: 1.312 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/1.1, allocations: 288 / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/1.1, allocations: 134.2 kB / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.1, allocations: 0 / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-06/1.1, allocations: 3.984 kB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.1, allocations: 5.5 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/1.1, allocations: 0 / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.1, allocations: 0 / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.1, allocations: 1.75 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001899/1.101, allocations: 139.5 kB / 1.098 GB, free: 1.824 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000288/1.101, allocations: 0.4999 MB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/1.101, allocations: 81.77 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/1.101, allocations: 11.83 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/1.101, allocations: 0 / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/1.101, allocations: 0 / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/1.101, allocations: 8.062 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.38e-05/1.101, allocations: 87.28 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001363/1.103, allocations: 8 kB / 1.099 GB, free: 1.094 MB / 0.698 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002392/1.103, allocations: 107.2 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001789/1.103, allocations: 49.64 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.103, allocations: 0 / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/1.103, allocations: 34.84 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/1.103, allocations: 12 kB / 1.099 GB, free: 0.875 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/1.104, allocations: 60.73 kB / 1.099 GB, free: 0.793 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/1.104, allocations: 0.6919 MB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/1.104, allocations: 0 / 1.1 GB, free: 76 kB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)