Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.458/1.458, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.00115/0.00115, allocations: 181.3 kB / 361.1 MB, free: 7.094 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.292/1.292, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007966/0.000797, allocations: 88.03 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2289/0.2297, allocations: 121.5 MB / 0.8512 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5264/0.7561, allocations: 115.3 MB / 0.9638 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.9062, allocations: 136.4 MB / 1.097 GB, free: 3.594 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.9065, allocations: 76.7 kB / 1.097 GB, free: 3.52 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.001431/0.9079, allocations: 0.5872 MB / 1.098 GB, free: 2.902 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.908, allocations: 8 kB / 1.098 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.908, allocations: 7.844 kB / 1.098 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.9081, allocations: 167.5 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.9081, allocations: 2.516 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.9082, allocations: 0 / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.76e-05/0.9083, allocations: 25.39 kB / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.238e-05/0.9084, allocations: 61.45 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.9084, allocations: 0.5625 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.9084, allocations: 0 / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.9084, allocations: 11.91 kB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.9088, allocations: 241.3 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.888e-05/0.9088, allocations: 15.47 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.9088, allocations: 10.45 kB / 1.098 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.9089, allocations: 0 / 1.098 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.9089, allocations: 30.56 kB / 1.098 GB, free: 2.238 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.9089, allocations: 2.469 kB / 1.098 GB, free: 2.238 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001689/0.9091, allocations: 45.59 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.9091, allocations: 77.11 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.974e-05/0.9092, allocations: 112 kB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.9092, allocations: 25.7 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.9093, allocations: 110.5 kB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-06/0.9093, allocations: 3.906 kB / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.9093, allocations: 0 / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.9094, allocations: 314.8 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.9094, allocations: 12 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.262e-05/0.9095, allocations: 53.81 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.316e-05/0.9095, allocations: 21.08 kB / 1.099 GB, free: 1.418 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.9095, allocations: 4.812 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001398/0.9097, allocations: 87.2 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9097, allocations: 4 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.9097, allocations: 0.5 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.9097, allocations: 4.594 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.9098, allocations: 21.86 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.9098, allocations: 1.125 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.685e-05/0.9099, allocations: 11.84 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.9099, allocations: 8.906 kB / 1.099 GB, free: 1.277 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 9.615e-05/0.91, allocations: 133.2 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.9101, allocations: 5.297 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.9101, allocations: 8.391 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.9101, allocations: 3.906 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9101, allocations: 0.5312 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.9101, allocations: 0 / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.9103, allocations: 134.7 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.9103, allocations: 0.8438 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.9103, allocations: 4 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.9103, allocations: 1.484 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.9103, allocations: 0 / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.9103, allocations: 3.812 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.9103, allocations: 0 / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001573/0.9105, allocations: 139.5 kB / 1.099 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002391/0.9108, allocations: 0.5012 MB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.9108, allocations: 85.09 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.9109, allocations: 4.438 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.9109, allocations: 2.156 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.9109, allocations: 8 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.911, allocations: 0 / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of sort global known variables: time 4.285e-05/0.911, allocations: 91.27 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008595/0.9119, allocations: 8 kB / 1.1 GB, free: 68 kB / 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.0001768/0.9121, allocations: 107 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.9122, allocations: 57.62 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9122, allocations: 5.188 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.929e-05/0.9122, allocations: 29.7 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.9123, allocations: 4 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001855/0.9125, allocations: 68.67 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.9128, allocations: 0.6885 MB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.9128, allocations: 1.594 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)