Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.401/1.401, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.0009824/0.0009824, allocations: 181.3 kB / 366.3 MB, free: 2.008 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.101/1.101, allocations: 205.1 MB / 0.6256 GB, free: 7.488 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.0008143/0.0008142, allocations: 86.83 kB / 0.7396 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2007/0.2016, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.6523, allocations: 116.3 MB / 0.9727 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.7909, allocations: 137.7 MB / 1.107 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.7911, allocations: 70.69 kB / 1.107 GB, free: 12.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.002383/0.7935, allocations: 0.8701 MB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.7936, allocations: 8.562 kB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.7936, allocations: 4.531 kB / 1.108 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.7937, allocations: 167 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.7937, allocations: 0.875 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.7938, allocations: 4 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.402e-05/0.7938, allocations: 15.56 kB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.675e-05/0.7939, allocations: 50.34 kB / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.7939, allocations: 0 / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.7939, allocations: 3.312 kB / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.794, allocations: 4 kB / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.7944, allocations: 285.9 kB / 1.109 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.444e-05/0.7945, allocations: 38.55 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.7946, allocations: 13.8 kB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.7946, allocations: 4 kB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.7946, allocations: 34.56 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.7946, allocations: 4 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001552/0.7948, allocations: 49.55 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.7948, allocations: 55.48 kB / 1.109 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.7949, allocations: 97 kB / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.7949, allocations: 25.7 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.795, allocations: 84.14 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.795, allocations: 15.8 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.795, allocations: 0.75 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.7951, allocations: 314.8 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.7951, allocations: 8 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.7952, allocations: 8 kB / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.217e-05/0.7952, allocations: 8 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.7952, allocations: 4 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.019e-05/0.7953, allocations: 53.53 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.7953, allocations: 4 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7953, allocations: 0.6562 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.7953, allocations: 4 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.7955, allocations: 31.92 kB / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.7955, allocations: 3.984 kB / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.401e-05/0.7956, allocations: 19.98 kB / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.7956, allocations: 0 / 1.109 GB, free: 10.29 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 (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 5.989e-05/0.7957, allocations: 105.7 kB / 1.11 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.7957, allocations: 5.219 kB / 1.11 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.7958, allocations: 53.69 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7958, allocations: 4 kB / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7958, allocations: 3.984 kB / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7958, allocations: 0 / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.796, allocations: 147.6 kB / 1.11 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.796, allocations: 4 kB / 1.11 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.7961, allocations: 23.92 kB / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7961, allocations: 0 / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.7961, allocations: 0 / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.7961, allocations: 4 kB / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7961, allocations: 0 / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001122/0.7963, allocations: 151.5 kB / 1.11 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001932/0.7965, allocations: 0.5119 MB / 1.11 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.7965, allocations: 85.56 kB / 1.11 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.7965, allocations: 14.36 kB / 1.11 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.7967, allocations: 19.97 kB / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.7967, allocations: 0 / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.7967, allocations: 4 kB / 1.111 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.154e-05/0.7968, allocations: 92.98 kB / 1.111 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007534/0.7975, allocations: 12.69 kB / 1.111 GB, free: 8.953 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 (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.0001218/0.7977, allocations: 95.25 kB / 1.111 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.866e-05/0.7978, allocations: 20 kB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7978, allocations: 0 / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/0.7978, allocations: 12 kB / 1.111 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.798, allocations: 12.45 kB / 1.111 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.7982, allocations: 86.3 kB / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.7985, allocations: 0.6993 MB / 1.112 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7985, allocations: 0.6562 kB / 1.112 GB, free: 7.98 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)