Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001084/0.001084, allocations: 181.3 kB / 366.3 MB, free: 1.949 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.585/1.585, allocations: 205.1 MB / 0.6256 GB, free: 5.77 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.0009877/0.0009877, allocations: 86.42 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3236/0.3246, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7768/1.101, allocations: 116.3 MB / 0.9727 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/1.278, allocations: 137.4 MB / 1.107 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.278, allocations: 71.95 kB / 1.107 GB, free: 10.98 MB / 0.7136 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.001667/1.28, allocations: 0.5811 MB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.28, allocations: 8 kB / 1.107 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/1.28, allocations: 4.562 kB / 1.107 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/1.28, allocations: 175.9 kB / 1.108 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/1.28, allocations: 0 / 1.108 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/1.28, allocations: 3.984 kB / 1.108 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.651e-05/1.28, allocations: 21.91 kB / 1.108 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/1.28, allocations: 50.28 kB / 1.108 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.28, allocations: 11.92 kB / 1.108 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.28, allocations: 2.078 kB / 1.108 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/1.28, allocations: 11.91 kB / 1.108 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/1.281, allocations: 238.5 kB / 1.108 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.019e-05/1.281, allocations: 18.58 kB / 1.108 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/1.281, allocations: 8.922 kB / 1.108 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-06/1.281, allocations: 0 / 1.108 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/1.281, allocations: 34.56 kB / 1.108 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/1.281, allocations: 0 / 1.108 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.000199/1.281, allocations: 41.55 kB / 1.108 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/1.281, allocations: 77.11 kB / 1.108 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/1.281, allocations: 111.8 kB / 1.108 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/1.281, allocations: 27.3 kB / 1.108 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/1.281, allocations: 103.8 kB / 1.108 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/1.281, allocations: 7.906 kB / 1.108 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/1.281, allocations: 4.031 kB / 1.108 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.282, allocations: 310.8 kB / 1.109 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/1.282, allocations: 11.98 kB / 1.109 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.178e-05/1.282, allocations: 50.88 kB / 1.109 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.395e-05/1.282, allocations: 27.92 kB / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.282, allocations: 3.938 kB / 1.109 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001399/1.282, allocations: 81.7 kB / 1.109 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/1.282, allocations: 12 kB / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.282, allocations: 0 / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.282, allocations: 4 kB / 1.109 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/1.282, allocations: 15.98 kB / 1.109 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.282, allocations: 0 / 1.109 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/1.282, allocations: 11.84 kB / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/1.282, allocations: 4.5 kB / 1.109 GB, free: 8.715 MB / 0.7136 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.0001039/1.282, allocations: 137.9 kB / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/1.282, allocations: 8 kB / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/1.282, allocations: 7.469 kB / 1.109 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.282, allocations: 3.906 kB / 1.109 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.282, allocations: 0 / 1.109 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.282, allocations: 3.984 kB / 1.109 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/1.282, allocations: 126.8 kB / 1.109 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/1.282, allocations: 0.6562 kB / 1.109 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-06/1.282, allocations: 4.875 kB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.282, allocations: 3.984 kB / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/1.282, allocations: 0 / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/1.282, allocations: 0 / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.282, allocations: 4 kB / 1.109 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001288/1.283, allocations: 139.4 kB / 1.109 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002471/1.283, allocations: 0.5046 MB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/1.283, allocations: 85.11 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/1.283, allocations: 7.969 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/1.283, allocations: 3.984 kB / 1.11 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/1.283, allocations: 0 / 1.11 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/1.283, allocations: 4 kB / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.503e-05/1.283, allocations: 87.28 kB / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008392/1.284, allocations: 8 kB / 1.11 GB, free: 7.48 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 (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.0001892/1.284, allocations: 107.2 kB / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001076/1.284, allocations: 54.39 kB / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.284, allocations: 4 kB / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.268e-05/1.284, allocations: 33.58 kB / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/1.284, allocations: 11.98 kB / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001878/1.285, allocations: 59.92 kB / 1.11 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/1.285, allocations: 0.6889 MB / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/1.285, allocations: 0 / 1.111 GB, free: 6.457 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)