Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",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.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 7.105 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.0009908/0.0009909, allocations: 177.3 kB / 316 MB, free: 3.562 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.149/1.149, allocations: 205.1 MB / 0.5667 GB, free: 15.72 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.0008118/0.0008118, allocations: 97.44 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3343/0.3351, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.4907, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4679/0.9587, allocations: 131.7 MB / 1.013 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.9589, allocations: 68.28 kB / 1.013 GB, free: 6.918 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003165/0.9621, allocations: 0.8377 MB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.9621, allocations: 12 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.9622, allocations: 8.672 kB / 1.014 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.9623, allocations: 170.9 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.9623, allocations: 4 kB / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.9623, allocations: 0 / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.052e-05/0.9624, allocations: 15.5 kB / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.008e-05/0.9625, allocations: 41.06 kB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.9625, allocations: 0 / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.9625, allocations: 0 / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.9626, allocations: 3.938 kB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.963, allocations: 263.9 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.796e-05/0.963, allocations: 30.08 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.9631, allocations: 16.86 kB / 1.015 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.9631, allocations: 0 / 1.015 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.9631, allocations: 38.25 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.9631, allocations: 0 / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001553/0.9633, allocations: 47.72 kB / 1.015 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.9633, allocations: 54.03 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.463e-05/0.9634, allocations: 92 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.9634, allocations: 29.7 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.9635, allocations: 87.44 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.9635, allocations: 7.938 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.9635, allocations: 0 / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.9636, allocations: 314 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.9636, allocations: 4 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.9637, allocations: 28.41 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.946e-05/0.9637, allocations: 4 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.9637, allocations: 0 / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.201e-05/0.9638, allocations: 56.88 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.9638, allocations: 89 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.9638, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.9639, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.964, allocations: 24.02 kB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.964, allocations: 3.984 kB / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.9641, allocations: 23.92 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.9641, allocations: 0 / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.9641, allocations: 4 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.486e-05/0.9642, allocations: 19.56 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.31e-07/0.9642, allocations: 0 / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-06/0.9642, allocations: 3.906 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.9643, allocations: 11.98 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.32e-07/0.9643, allocations: 3.938 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.9643, allocations: 20.02 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.9644, allocations: 0.5469 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 5.641e-05/0.9644, allocations: 101 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.9644, allocations: 7.906 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.9645, allocations: 15.81 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.9645, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.9645, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.9645, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.9646, allocations: 145.5 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.9647, allocations: 3.938 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.995e-05/0.9647, allocations: 17.98 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.9648, allocations: 3.906 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.9648, allocations: 0 / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9648, allocations: 7.984 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9648, allocations: 4 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001078/0.9649, allocations: 142.4 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002049/0.9651, allocations: 0.5055 MB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.9652, allocations: 85.08 kB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.9652, allocations: 3.984 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.9653, allocations: 15.98 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.9653, allocations: 4 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.9653, allocations: 3.25 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.781e-05/0.9654, allocations: 83.53 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001349/0.9667, allocations: 15.91 kB / 1.017 GB, free: 3.285 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001259/0.9669, allocations: 103.2 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.967, allocations: 30.69 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.967, allocations: 0 / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.967, allocations: 7.438 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.9672, allocations: 7.984 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.9675, allocations: 83.12 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.9678, allocations: 0.6996 MB / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of SimCode: time 1.963e-06/0.9678, allocations: 0 / 1.018 GB, free: 2.32 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1)