Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 191 kB / 7.804 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5679/0.5679, allocations: 90.84 MB / 99.06 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 221.4 MB / 342.8 MB, free: 5.469 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001009, allocations: 88.97 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1884/0.1895, allocations: 78.46 MB / 494 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.5842, allocations: 72.3 MB / 0.553 GB, free: 73.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.7038, allocations: 99.94 MB / 0.6506 GB, free: 10.04 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.7041, allocations: 79.23 kB / 0.6507 GB, free: 9.961 MB / 474.7 MB 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.00164/0.7058, allocations: 0.5941 MB / 0.6512 GB, free: 9.332 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.7058, allocations: 8.75 kB / 0.6512 GB, free: 9.324 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.7058, allocations: 0 / 0.6512 GB, free: 9.324 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.941e-05/0.706, allocations: 168.9 kB / 0.6514 GB, free: 9.121 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.706, allocations: 2 kB / 0.6514 GB, free: 9.121 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.706, allocations: 7.844 kB / 0.6514 GB, free: 9.113 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.792e-05/0.7061, allocations: 23.98 kB / 0.6514 GB, free: 9.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.497e-05/0.7062, allocations: 53.69 kB / 0.6515 GB, free: 9.031 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.7062, allocations: 4.75 kB / 0.6515 GB, free: 9.027 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.7062, allocations: 0 / 0.6515 GB, free: 9.027 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.7062, allocations: 8.781 kB / 0.6515 GB, free: 9.02 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.7066, allocations: 242.2 kB / 0.6517 GB, free: 8.746 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.729e-05/0.7066, allocations: 15.55 kB / 0.6517 GB, free: 8.723 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.7066, allocations: 8.922 kB / 0.6518 GB, free: 8.711 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.7066, allocations: 0.9688 kB / 0.6518 GB, free: 8.711 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.7067, allocations: 35.41 kB / 0.6518 GB, free: 8.668 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 3.126e-06/0.7067, allocations: 3.984 kB / 0.6518 GB, free: 8.664 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001722/0.7069, allocations: 42.41 kB / 0.6518 GB, free: 8.617 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.7069, allocations: 77.92 kB / 0.6519 GB, free: 8.523 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.707, allocations: 112.1 kB / 0.652 GB, free: 8.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.7071, allocations: 25.7 kB / 0.652 GB, free: 8.379 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.7071, allocations: 105.2 kB / 0.6521 GB, free: 8.273 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-06/0.7071, allocations: 0 / 0.6521 GB, free: 8.273 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.7071, allocations: 0 / 0.6521 GB, free: 8.273 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.7072, allocations: 314.8 kB / 0.6524 GB, free: 7.957 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.7073, allocations: 12.62 kB / 0.6525 GB, free: 7.945 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.175e-05/0.7073, allocations: 57.83 kB / 0.6525 GB, free: 7.867 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.342e-05/0.7074, allocations: 22.55 kB / 0.6525 GB, free: 7.848 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7074, allocations: 4 kB / 0.6525 GB, free: 7.844 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001398/0.7075, allocations: 74.69 kB / 0.6526 GB, free: 7.766 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.7076, allocations: 12.52 kB / 0.6526 GB, free: 7.754 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7076, allocations: 0.9062 kB / 0.6526 GB, free: 7.754 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.7076, allocations: 4 kB / 0.6526 GB, free: 7.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.7077, allocations: 16 kB / 0.6526 GB, free: 7.734 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.7077, allocations: 3.594 kB / 0.6526 GB, free: 7.734 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/0.7077, allocations: 11.84 kB / 0.6527 GB, free: 7.723 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.7078, allocations: 4.719 kB / 0.6527 GB, free: 7.719 MB / 474.7 MB 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 8.065e-05/0.7078, allocations: 139.1 kB / 0.6528 GB, free: 7.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.7079, allocations: 8.844 kB / 0.6528 GB, free: 7.562 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.522e-05/0.7079, allocations: 3.469 kB / 0.6528 GB, free: 7.555 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7079, allocations: 2.312 kB / 0.6528 GB, free: 7.555 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7079, allocations: 3.938 kB / 0.6528 GB, free: 7.551 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.7079, allocations: 0.7188 kB / 0.6528 GB, free: 7.551 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.7081, allocations: 138.3 kB / 0.6529 GB, free: 7.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7081, allocations: 0.6562 kB / 0.6529 GB, free: 7.379 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.7081, allocations: 4 kB / 0.6529 GB, free: 7.375 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.7081, allocations: 5.344 kB / 0.653 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.7081, allocations: 0 / 0.653 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7081, allocations: 0 / 0.653 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7081, allocations: 0 / 0.653 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001172/0.7083, allocations: 145 kB / 0.6531 GB, free: 7.215 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002087/0.7085, allocations: 0.4994 MB / 0.6536 GB, free: 6.699 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.7085, allocations: 85.02 kB / 0.6537 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.7086, allocations: 0 / 0.6537 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.7086, allocations: 0.8438 kB / 0.6537 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.7086, allocations: 0.5312 kB / 0.6537 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.7086, allocations: 4 kB / 0.6537 GB, free: 6.594 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.236e-05/0.7087, allocations: 93.89 kB / 0.6538 GB, free: 6.504 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007933/0.7095, allocations: 9.531 kB / 0.6538 GB, free: 6.496 MB / 474.7 MB 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.0001569/0.7097, allocations: 103.2 kB / 0.6539 GB, free: 6.387 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.7098, allocations: 54.88 kB / 0.6539 GB, free: 6.328 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7098, allocations: 0.6875 kB / 0.6539 GB, free: 6.328 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.369e-05/0.7098, allocations: 36.14 kB / 0.6539 GB, free: 6.289 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.7099, allocations: 9.938 kB / 0.654 GB, free: 6.281 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00018/0.7101, allocations: 65.06 kB / 0.654 GB, free: 6.195 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.7104, allocations: 0.6919 MB / 0.6547 GB, free: 5.477 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7104, allocations: 0.7188 kB / 0.6547 GB, free: 5.477 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)