Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.0.0/package.mo): time 2.18/2.18, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001604/0.001604, allocations: 185.2 kB / 360.3 MB, free: 7.57 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.672/1.672, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001223/0.001223, allocations: 99.03 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2419/0.2432, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.8011, allocations: 115.2 MB / 0.9628 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/1.003, allocations: 136.6 MB / 1.096 GB, free: 4.336 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/1.003, allocations: 65.27 kB / 1.096 GB, free: 4.273 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.003896/1.007, allocations: 0.875 MB / 1.097 GB, free: 3.398 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.007, allocations: 9 kB / 1.097 GB, free: 3.391 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/1.007, allocations: 3.906 kB / 1.097 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/1.008, allocations: 175.5 kB / 1.097 GB, free: 3.176 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/1.008, allocations: 0.5 kB / 1.097 GB, free: 3.176 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/1.008, allocations: 4 kB / 1.097 GB, free: 3.172 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001151/1.008, allocations: 16.66 kB / 1.097 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/1.008, allocations: 42.22 kB / 1.097 GB, free: 3.109 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/1.008, allocations: 0.6562 kB / 1.097 GB, free: 3.109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/1.008, allocations: 4.516 kB / 1.097 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.008, allocations: 4 kB / 1.097 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007008/1.009, allocations: 293.3 kB / 1.098 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/1.009, allocations: 26.58 kB / 1.098 GB, free: 2.742 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/1.009, allocations: 13.75 kB / 1.098 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/1.009, allocations: 0 / 1.098 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/1.009, allocations: 38.56 kB / 1.098 GB, free: 2.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/1.009, allocations: 1.969 kB / 1.098 GB, free: 2.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002092/1.009, allocations: 53.69 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/1.009, allocations: 53.28 kB / 1.098 GB, free: 2.559 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/1.009, allocations: 100.9 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.009, allocations: 25.7 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/1.009, allocations: 84.12 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/1.009, allocations: 15.81 kB / 1.098 GB, free: 2.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/1.009, allocations: 4 kB / 1.098 GB, free: 2.316 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.01, allocations: 310.8 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/1.01, allocations: 8 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.424e-05/1.01, allocations: 16.64 kB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/1.01, allocations: 8 kB / 1.098 GB, free: 1.973 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.01, allocations: 0 / 1.098 GB, free: 1.973 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001396/1.01, allocations: 46.31 kB / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.01, allocations: 7.984 kB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.01, allocations: 4 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.01, allocations: 5.688 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/1.01, allocations: 19.98 kB / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.01, allocations: 3.938 kB / 1.098 GB, free: 1.883 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/1.01, allocations: 19.98 kB / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/1.01, allocations: 4 kB / 1.098 GB, free: 1.859 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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 8.671e-05/1.011, allocations: 108.7 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/1.011, allocations: 4.562 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/1.011, allocations: 62.94 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1.011, allocations: 4 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.011, allocations: 0 / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.011, allocations: 0 / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/1.011, allocations: 150.1 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.011, allocations: 0 / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/1.011, allocations: 24.62 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.011, allocations: 4 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/1.011, allocations: 1.438 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.011, allocations: 0 / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.011, allocations: 0 / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001846/1.011, allocations: 151.4 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003296/1.012, allocations: 0.5238 MB / 1.099 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/1.012, allocations: 88.77 kB / 1.099 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/1.012, allocations: 0.8906 kB / 1.099 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/1.012, allocations: 15.98 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/1.012, allocations: 7.984 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/1.012, allocations: 4 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.976e-05/1.012, allocations: 83.28 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001098/1.013, allocations: 11.94 kB / 1.1 GB, free: 0.5273 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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.0001656/1.014, allocations: 99.23 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001466/1.014, allocations: 23.94 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.014, allocations: 0 / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/1.014, allocations: 12 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/1.014, allocations: 15.72 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/1.014, allocations: 75.17 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/1.015, allocations: 0.6954 MB / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of SimCode: time 1.152e-06/1.015, allocations: 0 / 1.1 GB, free: 15.56 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)