Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.381/1.381, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.0009587/0.0009587, allocations: 193.2 kB / 366.3 MB, free: 1.996 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.073/1.073, allocations: 205.1 MB / 0.6256 GB, free: 7.48 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.0008458/0.0008458, allocations: 101.1 kB / 0.7396 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2109/0.2118, allocations: 122.4 MB / 0.8591 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.7081, allocations: 116.3 MB / 0.9727 GB, free: 75.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.8486, allocations: 137.7 MB / 1.107 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.8488, allocations: 68.61 kB / 1.107 GB, free: 12.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001968/0.8508, allocations: 0.689 MB / 1.108 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.8509, allocations: 8.812 kB / 1.108 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.8509, allocations: 3.906 kB / 1.108 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.851, allocations: 167.1 kB / 1.108 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.851, allocations: 0.625 kB / 1.108 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.8511, allocations: 1.578 kB / 1.108 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.855e-05/0.8511, allocations: 8.938 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.58e-05/0.8512, allocations: 39.7 kB / 1.108 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8512, allocations: 3.984 kB / 1.108 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.8512, allocations: 8.922 kB / 1.108 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8513, allocations: 0.875 kB / 1.108 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.8516, allocations: 244.8 kB / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.688e-05/0.8517, allocations: 19.11 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.8517, allocations: 13.48 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.8518, allocations: 1.328 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.8518, allocations: 38.97 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8518, allocations: 4.438 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000148/0.852, allocations: 45.62 kB / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.852, allocations: 51.41 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.8521, allocations: 94.25 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.8521, allocations: 26.23 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.8521, allocations: 80.73 kB / 1.109 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.8522, allocations: 8.781 kB / 1.109 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.8522, allocations: 0 / 1.109 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.8523, allocations: 315.7 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.8523, allocations: 4 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-06/0.8523, allocations: 5.719 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.653e-05/0.8523, allocations: 8 kB / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.8523, allocations: 0.7812 kB / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.41e-05/0.8524, allocations: 38.14 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.8524, allocations: 9.156 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.8524, allocations: 0 / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.8524, allocations: 0 / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.8525, allocations: 21.86 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.8526, allocations: 0 / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.8526, allocations: 11.98 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.8526, allocations: 5.5 kB / 1.109 GB, free: 10.57 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 (2): * Single equations (assignments): 2 * 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.955e-05/0.8527, allocations: 108.9 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.8527, allocations: 4 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.387e-05/0.8528, allocations: 49.52 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.8528, allocations: 0 / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8528, allocations: 0 / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.8529, allocations: 0 / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.853, allocations: 138.1 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.853, allocations: 1.266 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.8531, allocations: 11.98 kB / 1.109 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8531, allocations: 4 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.8531, allocations: 4.031 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.8531, allocations: 0 / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.8531, allocations: 4.938 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.765e-05/0.8532, allocations: 139.5 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002116/0.8534, allocations: 0.5084 MB / 1.11 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.8535, allocations: 81.11 kB / 1.11 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.8535, allocations: 0 / 1.11 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.8536, allocations: 7.984 kB / 1.11 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.8536, allocations: 4.656 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.8536, allocations: 1.375 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.53e-05/0.8537, allocations: 85.91 kB / 1.11 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007637/0.8544, allocations: 7.906 kB / 1.11 GB, free: 9.316 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 (2): * Single equations (assignments): 2 * 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.0001269/0.8546, allocations: 103.7 kB / 1.11 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.436e-05/0.8547, allocations: 12 kB / 1.11 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.8547, allocations: 0 / 1.11 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/0.8547, allocations: 8 kB / 1.11 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.8549, allocations: 4.562 kB / 1.11 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001999/0.8551, allocations: 60.05 kB / 1.11 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.8553, allocations: 0.6885 MB / 1.111 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of SimCode: time 1.633e-06/0.8553, allocations: 0 / 1.111 GB, free: 8.383 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)