Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.001054/0.001054, allocations: 177 kB / 316 MB, free: 3.516 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.258/1.258, allocations: 205.2 MB / 0.5667 GB, free: 15.58 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.0009372/0.0009373, allocations: 83.41 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3692/0.3702, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.5469, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5119/1.059, allocations: 131.2 MB / 1.013 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/1.059, allocations: 77.66 kB / 1.013 GB, free: 7.285 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001411/1.06, allocations: 0.586 MB / 1.013 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.061, allocations: 15.98 kB / 1.013 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/1.061, allocations: 0 / 1.013 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.298e-05/1.061, allocations: 163 kB / 1.014 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/1.061, allocations: 3.906 kB / 1.014 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/1.061, allocations: 4 kB / 1.014 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.06e-05/1.061, allocations: 24.33 kB / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.187e-05/1.061, allocations: 53.44 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/1.061, allocations: 8 kB / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/1.061, allocations: 0 / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/1.061, allocations: 4 kB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/1.061, allocations: 248.7 kB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.175e-05/1.061, allocations: 18.58 kB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/1.061, allocations: 4.859 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/1.061, allocations: 0 / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/1.061, allocations: 50.81 kB / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/1.061, allocations: 0 / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001685/1.062, allocations: 33.69 kB / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/1.062, allocations: 81.11 kB / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/1.062, allocations: 103 kB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/1.062, allocations: 25.7 kB / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/1.062, allocations: 106.8 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.092e-06/1.062, allocations: 4.031 kB / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/1.062, allocations: 4 kB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.062, allocations: 314.1 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/1.062, allocations: 7.984 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/1.062, allocations: 58.86 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.237e-05/1.062, allocations: 31.08 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.062, allocations: 0 / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001389/1.062, allocations: 81.23 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/1.062, allocations: 4 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.062, allocations: 4 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.062, allocations: 0 / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/1.062, allocations: 15.98 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/1.062, allocations: 7.938 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/1.063, allocations: 11.84 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/1.063, allocations: 4 kB / 1.015 GB, free: 5.094 MB / 0.6355 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 7.647e-05/1.063, allocations: 134.1 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/1.063, allocations: 7.969 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.798e-05/1.063, allocations: 15.34 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.063, allocations: 4 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.063, allocations: 0 / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.063, allocations: 3.984 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/1.063, allocations: 133.4 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.063, allocations: 3.906 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/1.063, allocations: 0 / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.063, allocations: 0 / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/1.063, allocations: 0 / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/1.063, allocations: 0 / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.063, allocations: 8 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001111/1.063, allocations: 141.8 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001792/1.063, allocations: 0.4958 MB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/1.063, allocations: 89.06 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/1.063, allocations: 7.812 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.886e-05/1.063, allocations: 4 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/1.063, allocations: 0 / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/1.063, allocations: 0 / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.268e-05/1.063, allocations: 86.41 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008243/1.064, allocations: 19.89 kB / 1.016 GB, free: 3.871 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 (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.0001899/1.064, allocations: 107.2 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001144/1.065, allocations: 60.69 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.065, allocations: 0 / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.501e-05/1.065, allocations: 29.7 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/1.065, allocations: 3.625 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002099/1.065, allocations: 59.92 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/1.065, allocations: 0.688 MB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/1.065, allocations: 0.5625 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)