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: translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [: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.001422/0.001422, allocations: 187.4 kB / 7.802 MB, free: 140 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4434/0.4434, allocations: 90.85 MB / 99.07 MB, free: 3.312 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 221.4 MB / 342.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.000935, allocations: 93.27 kB / 415.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.666e-06, allocations: 4 kB / 493.9 MB, free: 15.58 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2948, allocations: 72.3 MB / 0.5529 GB, free: 46.43 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.4136, allocations: 99.93 MB / 0.6505 GB, free: 12.6 MB / 478.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4139, allocations: 77.27 kB / 0.6506 GB, free: 12.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.001331/0.4153, allocations: 253.6 kB / 0.6508 GB, free: 12.28 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.4153, allocations: 4 kB / 0.6508 GB, free: 12.28 MB / 478.1 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.0003747/0.4157, allocations: 340.9 kB / 0.6511 GB, free: 11.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4157, allocations: 8.969 kB / 0.6511 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.4158, allocations: 4 kB / 0.6512 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.4159, allocations: 164.2 kB / 0.6513 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.4159, allocations: 3.938 kB / 0.6513 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.4159, allocations: 1.5 kB / 0.6513 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.209e-05/0.416, allocations: 31.89 kB / 0.6513 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.083e-05/0.4161, allocations: 54.38 kB / 0.6514 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4161, allocations: 1.438 kB / 0.6514 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4161, allocations: 0 / 0.6514 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.4162, allocations: 11.98 kB / 0.6514 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.4166, allocations: 237.3 kB / 0.6516 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.068e-05/0.4166, allocations: 23.83 kB / 0.6517 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.4166, allocations: 12.84 kB / 0.6517 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.4167, allocations: 0.6875 kB / 0.6517 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.4167, allocations: 35.19 kB / 0.6517 GB, free: 11.22 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.4167, allocations: 4.688 kB / 0.6517 GB, free: 11.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002273/0.4169, allocations: 37.77 kB / 0.6517 GB, free: 11.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.417, allocations: 77.11 kB / 0.6518 GB, free: 11.08 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.4171, allocations: 110.3 kB / 0.6519 GB, free: 10.97 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.4171, allocations: 25.7 kB / 0.6519 GB, free: 10.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.4172, allocations: 108.7 kB / 0.6521 GB, free: 10.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/0.4172, allocations: 0 / 0.6521 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.4172, allocations: 0 / 0.6521 GB, free: 10.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4173, allocations: 318.8 kB / 0.6524 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.4174, allocations: 8.031 kB / 0.6524 GB, free: 10.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.433e-05/0.4174, allocations: 58.86 kB / 0.6524 GB, free: 10.42 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.259e-05/0.4175, allocations: 27.92 kB / 0.6524 GB, free: 10.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4175, allocations: 0 / 0.6524 GB, free: 10.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001375/0.4176, allocations: 81.45 kB / 0.6525 GB, free: 10.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.4176, allocations: 4 kB / 0.6525 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4177, allocations: 0.6562 kB / 0.6525 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4177, allocations: 4 kB / 0.6525 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.4177, allocations: 16.25 kB / 0.6525 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.4178, allocations: 3.938 kB / 0.6526 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.815e-05/0.4178, allocations: 15.83 kB / 0.6526 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.4179, allocations: 8 kB / 0.6526 GB, free: 10.25 MB / 478.1 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 9.306e-05/0.418, allocations: 126.7 kB / 0.6527 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.418, allocations: 8.469 kB / 0.6527 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.418, allocations: 3.469 kB / 0.6527 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.418, allocations: 3.938 kB / 0.6527 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.418, allocations: 0 / 0.6527 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.418, allocations: 8 kB / 0.6527 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.4182, allocations: 134.3 kB / 0.6528 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4182, allocations: 0.9375 kB / 0.6528 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.4182, allocations: 0 / 0.6528 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.4182, allocations: 0 / 0.6528 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.4182, allocations: 3.906 kB / 0.6529 GB, free: 9.918 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.4182, allocations: 0 / 0.6529 GB, free: 9.918 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4182, allocations: 0 / 0.6529 GB, free: 9.918 MB / 478.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000115/0.4183, allocations: 143.5 kB / 0.653 GB, free: 9.762 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.4184, allocations: 81.02 kB / 0.6531 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.4184, allocations: 0 / 0.6531 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.4185, allocations: 7.984 kB / 0.6531 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.4185, allocations: 1.875 kB / 0.6531 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.4185, allocations: 0 / 0.6531 GB, free: 9.656 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.06e-05/0.4186, allocations: 92.83 kB / 0.6532 GB, free: 9.566 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.4188, allocations: 8 kB / 0.6532 GB, free: 9.559 MB / 478.1 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.0001809/0.419, allocations: 115.3 kB / 0.6533 GB, free: 9.438 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.4191, allocations: 53.64 kB / 0.6533 GB, free: 9.379 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4191, allocations: 0 / 0.6533 GB, free: 9.379 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.962e-05/0.4191, allocations: 25.7 kB / 0.6534 GB, free: 9.348 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.4193, allocations: 7.906 kB / 0.6534 GB, free: 9.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.4195, allocations: 71.72 kB / 0.6534 GB, free: 9.246 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.4198, allocations: 0.6924 MB / 0.6541 GB, free: 8.527 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4199, allocations: 4 kB / 0.6541 GB, free: 8.523 MB / 478.1 MB Notification: Performance of Templates: time 0.00251/0.4224, allocations: 499.8 kB / 0.6546 GB, free: 8.055 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)