Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.MultiMin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.372/1.372, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.0009654/0.0009654, allocations: 181.3 kB / 366.3 MB, free: 1.992 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.08/1.08, 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.0007996/0.0007996, allocations: 87.3 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2116/0.2124, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.6961, allocations: 116.3 MB / 0.9727 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.8409, allocations: 137.4 MB / 1.107 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.8411, allocations: 72.45 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.001996/0.8432, allocations: 0.786 MB / 1.108 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.8432, allocations: 17.48 kB / 1.108 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.8432, allocations: 8.406 kB / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.8434, allocations: 167.1 kB / 1.108 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.8435, allocations: 7.984 kB / 1.108 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.8435, allocations: 0.8438 kB / 1.108 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.198e-05/0.8436, allocations: 40.48 kB / 1.108 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.8437, allocations: 74.08 kB / 1.108 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.8437, allocations: 4.766 kB / 1.108 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.8437, allocations: 1.031 kB / 1.108 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.8437, allocations: 12.55 kB / 1.108 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.8442, allocations: 442.9 kB / 1.108 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.955e-05/0.8442, allocations: 174.2 kB / 1.109 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.8443, allocations: 88.14 kB / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.8443, allocations: 79.28 kB / 1.109 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.8444, allocations: 105.8 kB / 1.109 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.8444, allocations: 0 / 1.109 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.028e-05/0.8444, allocations: 29.61 kB / 1.109 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.8445, allocations: 54 kB / 1.109 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.8446, allocations: 113 kB / 1.109 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.8446, allocations: 35.14 kB / 1.109 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.8446, allocations: 96.03 kB / 1.109 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.8446, allocations: 0 / 1.109 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.8446, allocations: 0 / 1.109 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.8447, allocations: 318.8 kB / 1.109 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.8447, allocations: 7.984 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.8448, allocations: 8 kB / 1.109 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/0.8448, allocations: 7.984 kB / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8448, allocations: 4.062 kB / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001421/0.845, allocations: 49.69 kB / 1.11 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.845, allocations: 4 kB / 1.11 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.845, allocations: 0 / 1.11 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.845, allocations: 0 / 1.11 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.133e-05/0.8451, allocations: 8.672 kB / 1.11 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8451, allocations: 3.906 kB / 1.11 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.8451, allocations: 4 kB / 1.11 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.8451, allocations: 0.5625 kB / 1.11 GB, free: 8.152 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 7.933e-05/0.8452, allocations: 184.3 kB / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.8453, allocations: 108.8 kB / 1.11 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.8453, allocations: 108.5 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.814e-05/0.8454, allocations: 184.8 kB / 1.11 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-05/0.8454, allocations: 180.3 kB / 1.11 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.727e-05/0.8455, allocations: 182.4 kB / 1.11 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.8457, allocations: 401.8 kB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-05/0.8457, allocations: 109.4 kB / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.8458, allocations: 101 kB / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.043e-05/0.8458, allocations: 176.3 kB / 1.111 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.8459, allocations: 188.2 kB / 1.111 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.982e-05/0.8459, allocations: 184.3 kB / 1.112 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.552e-05/0.846, allocations: 184.5 kB / 1.112 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001072/0.8461, allocations: 305.1 kB / 1.112 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001994/0.8463, allocations: 0.6758 MB / 1.113 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.8464, allocations: 186 kB / 1.113 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.8464, allocations: 180.3 kB / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.8465, allocations: 108.9 kB / 1.113 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.8466, allocations: 180.3 kB / 1.113 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.8466, allocations: 101 kB / 1.113 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.266e-05/0.8467, allocations: 100.9 kB / 1.113 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008127/0.8475, allocations: 15.78 kB / 1.114 GB, free: 3.848 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.0001143/0.8476, allocations: 178.5 kB / 1.114 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.655e-05/0.8477, allocations: 8.344 kB / 1.114 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.8477, allocations: 0 / 1.114 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.8477, allocations: 0 / 1.114 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.8479, allocations: 0.5309 MB / 1.114 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.8482, allocations: 159 kB / 1.114 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.8484, allocations: 0.6997 MB / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.8484, allocations: 0 / 1.115 GB, free: 2.215 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1)