Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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.814/1.814, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009439/0.000944, allocations: 189.2 kB / 487 MB, free: 5.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.14/1.14, allocations: 221.3 MB / 0.7819 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008443/0.0008441, allocations: 103.7 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.431/0.4319, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.6202, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5253/1.145, allocations: 147.7 MB / 1.35 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/1.146, allocations: 65.7 kB / 1.35 GB, free: 15.82 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001617/1.147, allocations: 0.7893 MB / 1.35 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/1.147, allocations: 10.84 kB / 1.35 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/1.147, allocations: 7.891 kB / 1.35 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/1.148, allocations: 180.5 kB / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-06/1.148, allocations: 1.312 kB / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/1.148, allocations: 3.781 kB / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.352e-05/1.148, allocations: 39.86 kB / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.902e-05/1.148, allocations: 78 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/1.148, allocations: 0 / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/1.148, allocations: 1.312 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/1.148, allocations: 1.344 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/1.148, allocations: 454.7 kB / 1.351 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.29e-05/1.148, allocations: 168.1 kB / 1.351 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/1.148, allocations: 80.14 kB / 1.351 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/1.148, allocations: 79.28 kB / 1.351 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/1.148, allocations: 111.5 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/1.148, allocations: 0 / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.675e-05/1.148, allocations: 30.92 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.493e-05/1.148, allocations: 57.78 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/1.148, allocations: 113.3 kB / 1.352 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-06/1.148, allocations: 25.7 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.463e-05/1.148, allocations: 99.05 kB / 1.352 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/1.148, allocations: 0 / 1.352 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/1.148, allocations: 0 / 1.352 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.459e-05/1.148, allocations: 316.1 kB / 1.352 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/1.148, allocations: 12.28 kB / 1.352 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/1.149, allocations: 5.406 kB / 1.352 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.215e-05/1.149, allocations: 12.03 kB / 1.352 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.149, allocations: 0 / 1.352 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.801e-05/1.149, allocations: 54.86 kB / 1.352 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.149, allocations: 6.578 kB / 1.352 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.149, allocations: 2.938 kB / 1.352 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/1.149, allocations: 1.281 kB / 1.352 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/1.149, allocations: 2.594 kB / 1.352 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/1.149, allocations: 3.906 kB / 1.352 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/1.149, allocations: 9.078 kB / 1.352 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/1.149, allocations: 5.25 kB / 1.352 GB, free: 13.68 MB / 0.8073 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 (1): * Single equations (assignments): 1 * 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 3.637e-05/1.149, allocations: 177.7 kB / 1.352 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/1.149, allocations: 112.9 kB / 1.353 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/1.149, allocations: 110.9 kB / 1.353 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/1.149, allocations: 181.5 kB / 1.353 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/1.149, allocations: 178.9 kB / 1.353 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/1.149, allocations: 177.3 kB / 1.353 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/1.149, allocations: 407.7 kB / 1.354 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.149, allocations: 102.6 kB / 1.354 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-06/1.149, allocations: 102.3 kB / 1.354 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/1.149, allocations: 182.9 kB / 1.354 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/1.149, allocations: 176.3 kB / 1.354 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.695e-05/1.149, allocations: 179.6 kB / 1.354 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.102e-05/1.149, allocations: 193.2 kB / 1.354 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.968e-05/1.149, allocations: 302.6 kB / 1.355 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 8.122e-05/1.149, allocations: 0.6763 MB / 1.355 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/1.149, allocations: 186 kB / 1.356 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/1.149, allocations: 181.4 kB / 1.356 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/1.149, allocations: 107.7 kB / 1.356 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/1.149, allocations: 177.6 kB / 1.356 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/1.149, allocations: 107.8 kB / 1.356 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.334e-05/1.15, allocations: 101.5 kB / 1.356 GB, free: 25.51 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007564/1.15, allocations: 12.97 kB / 1.356 GB, free: 25.5 MB / 0.823 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 (0): * Single equations (assignments): 0 * 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.0001222/1.15, allocations: 175.2 kB / 1.356 GB, free: 25.34 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 4.572e-05/1.151, allocations: 7.328 kB / 1.356 GB, free: 25.34 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/1.151, allocations: 0 / 1.356 GB, free: 25.34 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/1.151, allocations: 1.188 kB / 1.356 GB, free: 25.34 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/1.151, allocations: 0.5299 MB / 1.357 GB, free: 24.81 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/1.151, allocations: 157.9 kB / 1.357 GB, free: 24.66 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/1.151, allocations: 0.7063 MB / 1.358 GB, free: 23.95 MB / 0.823 GB Notification: Performance of SimCode: time 2.81e-07/1.151, allocations: 0 / 1.358 GB, free: 23.95 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1)