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.MultiMin.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.MultiMin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.273/1.273, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.001034/0.001034, allocations: 200.3 kB / 316 MB, free: 3.578 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.192/1.192, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.0008805/0.0008805, allocations: 90.47 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3261/0.327, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.4835, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4514/0.9349, allocations: 131.2 MB / 1.013 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.9352, allocations: 65.33 kB / 1.013 GB, free: 7.285 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001678/0.9369, allocations: 0.7921 MB / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.9369, allocations: 8 kB / 1.014 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.9369, allocations: 7.906 kB / 1.014 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.9371, allocations: 186.6 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.9371, allocations: 0 / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.9371, allocations: 6.734 kB / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.079e-05/0.9372, allocations: 42.23 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.491e-05/0.9373, allocations: 72.03 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.9373, allocations: 0 / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.9374, allocations: 0 / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.9374, allocations: 3.984 kB / 1.014 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.9377, allocations: 456.2 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.9378, allocations: 173 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.9379, allocations: 87.7 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.9379, allocations: 75.28 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.9379, allocations: 109.8 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.9379, allocations: 0 / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.82e-05/0.938, allocations: 29.81 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.938, allocations: 55.34 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.999e-05/0.9381, allocations: 112.7 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.9382, allocations: 29.69 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.9382, allocations: 98.08 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/0.9382, allocations: 0 / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.9382, allocations: 0 / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9383, allocations: 318.8 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.9384, allocations: 7.562 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.9384, allocations: 11.92 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.095e-05/0.9384, allocations: 11.5 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.9384, allocations: 0.8438 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.913e-05/0.9385, allocations: 53.08 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.9385, allocations: 4 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9385, allocations: 4 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.9385, allocations: 96 / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.419e-05/0.9386, allocations: 4 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.9386, allocations: 320 / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.9386, allocations: 4 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.9386, allocations: 4 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 (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.583e-05/0.9387, allocations: 184.1 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.9388, allocations: 104.9 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.035e-05/0.9388, allocations: 112.4 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.654e-05/0.9389, allocations: 180.3 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.653e-05/0.939, allocations: 180.2 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-05/0.939, allocations: 179.8 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.9392, allocations: 401.3 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/0.9393, allocations: 104.9 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.9393, allocations: 105 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.692e-05/0.9393, allocations: 176.3 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/0.9394, allocations: 191.7 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.542e-05/0.9394, allocations: 176.3 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.692e-05/0.9395, allocations: 176.6 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000105/0.9396, allocations: 320.4 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001911/0.9398, allocations: 0.6715 MB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.9399, allocations: 182.1 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-05/0.94, allocations: 188.2 kB / 1.019 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.94, allocations: 108.9 kB / 1.019 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.9401, allocations: 176.3 kB / 1.019 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.9401, allocations: 101 kB / 1.019 GB, free: 352 kB / 0.6355 GB Notification: Performance of sort global known variables: time 5.873e-05/0.9402, allocations: 98.2 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007655/0.941, allocations: 11.84 kB / 1.02 GB, free: 248 kB / 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 (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.000156/0.9411, allocations: 178.5 kB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.926e-05/0.9412, allocations: 19.28 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9412, allocations: 0 / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.9412, allocations: 0 / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.9415, allocations: 0.5182 MB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.9418, allocations: 154.8 kB / 1.02 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.942, allocations: 0.7036 MB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.9421, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1)