Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.879/1.879, allocations: 387.2 MB / 394.5 MB, free: 4.422 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 196.6 kB / 487 MB, free: 10.94 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 221.3 MB / 0.7819 GB, free: 3.848 MB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009237/0.0009237, allocations: 96.62 kB / 0.9213 GB, free: 4.941 MB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 0.4454/0.4463, allocations: 148.5 MB / 1.066 GB, free: 140.9 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.6495, allocations: 142.3 MB / 1.205 GB, free: 14.54 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5892/1.239, allocations: 147.7 MB / 1.35 GB, free: 4.285 MB / 0.8152 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.239, allocations: 71.95 kB / 1.35 GB, free: 4.215 MB / 0.8152 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.001442/1.24, allocations: 0.5799 MB / 1.35 GB, free: 3.594 MB / 0.8152 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/1.24, allocations: 8.5 kB / 1.35 GB, free: 3.586 MB / 0.8152 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/1.241, allocations: 7.906 kB / 1.35 GB, free: 3.578 MB / 0.8152 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.795e-05/1.241, allocations: 167 kB / 1.35 GB, free: 3.375 MB / 0.8152 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/1.241, allocations: 3.984 kB / 1.35 GB, free: 3.371 MB / 0.8152 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/1.241, allocations: 0 / 1.35 GB, free: 3.371 MB / 0.8152 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.712e-05/1.241, allocations: 23.98 kB / 1.35 GB, free: 3.348 MB / 0.8152 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.036e-05/1.241, allocations: 57.02 kB / 1.35 GB, free: 3.289 MB / 0.8152 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/1.241, allocations: 0 / 1.35 GB, free: 3.289 MB / 0.8152 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/1.241, allocations: 4 kB / 1.35 GB, free: 3.285 MB / 0.8152 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/1.241, allocations: 19.88 kB / 1.35 GB, free: 3.266 MB / 0.8152 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/1.241, allocations: 233.4 kB / 1.351 GB, free: 3 MB / 0.8152 GB Notification: Performance of preOpt comSubExp (simulation): time 3.093e-05/1.241, allocations: 22.52 kB / 1.351 GB, free: 2.969 MB / 0.8152 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/1.241, allocations: 4.859 kB / 1.351 GB, free: 2.961 MB / 0.8152 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-06/1.241, allocations: 2.734 kB / 1.351 GB, free: 2.961 MB / 0.8152 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/1.241, allocations: 38.56 kB / 1.351 GB, free: 2.914 MB / 0.8152 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/1.241, allocations: 0 / 1.351 GB, free: 2.914 MB / 0.8152 GB Notification: Performance of matching and sorting (n=1): time 0.0001485/1.241, allocations: 41.66 kB / 1.351 GB, free: 2.867 MB / 0.8152 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/1.241, allocations: 77.11 kB / 1.351 GB, free: 2.773 MB / 0.8152 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/1.242, allocations: 105 kB / 1.351 GB, free: 2.664 MB / 0.8152 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/1.242, allocations: 25.7 kB / 1.351 GB, free: 2.633 MB / 0.8152 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/1.242, allocations: 103.8 kB / 1.351 GB, free: 2.527 MB / 0.8152 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/1.242, allocations: 3.906 kB / 1.351 GB, free: 2.523 MB / 0.8152 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/1.242, allocations: 0 / 1.351 GB, free: 2.523 MB / 0.8152 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/1.242, allocations: 326.9 kB / 1.351 GB, free: 2.195 MB / 0.8152 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/1.242, allocations: 8.875 kB / 1.351 GB, free: 2.188 MB / 0.8152 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/1.242, allocations: 58.86 kB / 1.351 GB, free: 2.105 MB / 0.8152 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.7e-05/1.242, allocations: 19.98 kB / 1.351 GB, free: 2.086 MB / 0.8152 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.242, allocations: 0 / 1.351 GB, free: 2.086 MB / 0.8152 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001425/1.242, allocations: 85.45 kB / 1.352 GB, free: 1.996 MB / 0.8152 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/1.242, allocations: 4.25 kB / 1.352 GB, free: 1.992 MB / 0.8152 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.242, allocations: 8 kB / 1.352 GB, free: 1.984 MB / 0.8152 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/1.242, allocations: 0 / 1.352 GB, free: 1.984 MB / 0.8152 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/1.242, allocations: 15.94 kB / 1.352 GB, free: 1.969 MB / 0.8152 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1.242, allocations: 480 / 1.352 GB, free: 1.969 MB / 0.8152 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/1.242, allocations: 11.88 kB / 1.352 GB, free: 1.957 MB / 0.8152 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/1.242, allocations: 15.91 kB / 1.352 GB, free: 1.941 MB / 0.8152 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.454e-05/1.242, allocations: 130.7 kB / 1.352 GB, free: 1.801 MB / 0.8152 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/1.242, allocations: 4 kB / 1.352 GB, free: 1.797 MB / 0.8152 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.684e-05/1.242, allocations: 11.34 kB / 1.352 GB, free: 1.789 MB / 0.8152 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/1.242, allocations: 4 kB / 1.352 GB, free: 1.785 MB / 0.8152 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.242, allocations: 3.906 kB / 1.352 GB, free: 1.781 MB / 0.8152 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/1.242, allocations: 4 kB / 1.352 GB, free: 1.777 MB / 0.8152 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/1.242, allocations: 134.2 kB / 1.352 GB, free: 1.609 MB / 0.8152 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/1.243, allocations: 0 / 1.352 GB, free: 1.609 MB / 0.8152 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/1.243, allocations: 0 / 1.352 GB, free: 1.609 MB / 0.8152 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/1.243, allocations: 0 / 1.352 GB, free: 1.609 MB / 0.8152 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/1.243, allocations: 0 / 1.352 GB, free: 1.609 MB / 0.8152 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/1.243, allocations: 0 / 1.352 GB, free: 1.609 MB / 0.8152 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/1.243, allocations: 0 / 1.352 GB, free: 1.609 MB / 0.8152 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001116/1.243, allocations: 143.5 kB / 1.352 GB, free: 1.453 MB / 0.8152 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002022/1.243, allocations: 0.5076 MB / 1.353 GB, free: 0.9258 MB / 0.8152 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/1.243, allocations: 77.11 kB / 1.353 GB, free: 0.832 MB / 0.8152 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/1.243, allocations: 3.906 kB / 1.353 GB, free: 0.8281 MB / 0.8152 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.852e-05/1.243, allocations: 8.062 kB / 1.353 GB, free: 0.8203 MB / 0.8152 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/1.243, allocations: 0 / 1.353 GB, free: 0.8203 MB / 0.8152 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/1.243, allocations: 0 / 1.353 GB, free: 0.8203 MB / 0.8152 GB Notification: Performance of sort global known variables: time 4.943e-05/1.243, allocations: 95.25 kB / 1.353 GB, free: 0.7266 MB / 0.8152 GB Notification: Performance of remove unused functions: time 0.0008417/1.244, allocations: 12 kB / 1.353 GB, free: 0.7148 MB / 0.8152 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.0001581/1.244, allocations: 103.2 kB / 1.353 GB, free: 0.6055 MB / 0.8152 GB Notification: Performance of simCode: created initialization part: time 0.0001074/1.244, allocations: 58.06 kB / 1.353 GB, free: 0.543 MB / 0.8152 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.244, allocations: 4.062 kB / 1.353 GB, free: 0.5391 MB / 0.8152 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/1.244, allocations: 29.7 kB / 1.353 GB, free: 0.5039 MB / 0.8152 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/1.244, allocations: 0 / 1.353 GB, free: 0.5039 MB / 0.8152 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/1.245, allocations: 63.92 kB / 1.353 GB, free: 428 kB / 0.8152 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/1.245, allocations: 0.6957 MB / 1.354 GB, free: 15.7 MB / 0.8308 GB Notification: Performance of SimCode: time 2.7e-07/1.245, allocations: 0 / 1.354 GB, free: 15.7 MB / 0.8308 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)