Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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 8.1.4-maint.8.1.x/package.mo): time 1.413/1.413, allocations: 289.8 MB / 297.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 173.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.081/1.081, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008228/0.0008228, allocations: 101.5 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.208/0.2088, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.6718, allocations: 116.3 MB / 0.9727 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.8125, allocations: 137.4 MB / 1.107 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.8128, allocations: 72.53 kB / 1.107 GB, free: 11.04 MB / 0.7136 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.001765/0.8145, allocations: 0.7131 MB / 1.108 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.8146, allocations: 12.81 kB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.8146, allocations: 3.906 kB / 1.108 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.8148, allocations: 175.1 kB / 1.108 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.8148, allocations: 0.9375 kB / 1.108 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.8149, allocations: 4 kB / 1.108 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.149e-05/0.815, allocations: 44.69 kB / 1.108 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.8151, allocations: 73.58 kB / 1.108 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.8151, allocations: 5.062 kB / 1.108 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.8151, allocations: 0 / 1.108 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.8151, allocations: 3.938 kB / 1.108 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.8155, allocations: 450.3 kB / 1.108 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.647e-05/0.8156, allocations: 169.1 kB / 1.108 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.8156, allocations: 84.12 kB / 1.109 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.8156, allocations: 83.27 kB / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.8157, allocations: 105.8 kB / 1.109 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.8157, allocations: 0 / 1.109 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.756e-05/0.8158, allocations: 37.61 kB / 1.109 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.8158, allocations: 58.59 kB / 1.109 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/0.8159, allocations: 113 kB / 1.109 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.8159, allocations: 25.7 kB / 1.109 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.8159, allocations: 92.03 kB / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.8159, allocations: 4 kB / 1.109 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.816, allocations: 0 / 1.109 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.816, allocations: 314.8 kB / 1.109 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.8161, allocations: 13.02 kB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.261e-05/0.8161, allocations: 12 kB / 1.109 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.094e-05/0.8161, allocations: 7.984 kB / 1.109 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.8161, allocations: 0 / 1.109 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.559e-05/0.8162, allocations: 45.69 kB / 1.109 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.8162, allocations: 8 kB / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.8162, allocations: 0 / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.8162, allocations: 0 / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.731e-05/0.8163, allocations: 7.984 kB / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.8163, allocations: 8 kB / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.8163, allocations: 0 / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.8164, allocations: 4.938 kB / 1.109 GB, free: 8.223 MB / 0.7136 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 6.11e-05/0.8164, allocations: 180.2 kB / 1.11 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.8165, allocations: 108.9 kB / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.8165, allocations: 104.5 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-05/0.8166, allocations: 188.2 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.964e-05/0.8167, allocations: 184.4 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.765e-05/0.8167, allocations: 180.2 kB / 1.11 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.8169, allocations: 397.7 kB / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/0.8169, allocations: 101 kB / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.817, allocations: 101 kB / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.854e-05/0.817, allocations: 189.4 kB / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.058e-05/0.8171, allocations: 180.3 kB / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-05/0.8171, allocations: 180.3 kB / 1.111 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.44e-05/0.8172, allocations: 188.4 kB / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001108/0.8173, allocations: 305.2 kB / 1.112 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001845/0.8175, allocations: 0.6758 MB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.8176, allocations: 182 kB / 1.113 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/0.8176, allocations: 184.2 kB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.8177, allocations: 113 kB / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.8178, allocations: 176.3 kB / 1.113 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.8178, allocations: 104.9 kB / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.533e-05/0.8178, allocations: 97.38 kB / 1.113 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007996/0.8186, allocations: 15.84 kB / 1.113 GB, free: 3.926 MB / 0.7136 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.0001125/0.8188, allocations: 171.3 kB / 1.114 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.22e-05/0.8188, allocations: 20.34 kB / 1.114 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8188, allocations: 0 / 1.114 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.8188, allocations: 0 / 1.114 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.8192, allocations: 0.5224 MB / 1.114 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.8194, allocations: 160.2 kB / 1.114 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.8196, allocations: 0.7037 MB / 1.115 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8196, allocations: 0 / 1.115 GB, free: 2.289 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)