Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.148/2.148, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.00158/0.00158, allocations: 173.3 kB / 360.3 MB, free: 7.555 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.644/1.644, 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.001227/0.001226, allocations: 83.45 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2489/0.2502, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5427/0.793, allocations: 115.2 MB / 0.9628 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.996, allocations: 136.6 MB / 1.096 GB, free: 4.254 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.9963, allocations: 68.56 kB / 1.096 GB, free: 4.188 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00272/0.999, allocations: 0.6865 MB / 1.097 GB, free: 3.488 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.9991, allocations: 15.97 kB / 1.097 GB, free: 3.477 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.9992, allocations: 3.906 kB / 1.097 GB, free: 3.473 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.9993, allocations: 167 kB / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.9993, allocations: 4 kB / 1.097 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.9993, allocations: 0 / 1.097 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.807e-05/0.9994, allocations: 9.125 kB / 1.097 GB, free: 3.258 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.288e-05/0.9995, allocations: 30.36 kB / 1.097 GB, free: 3.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.9996, allocations: 4 kB / 1.097 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.9996, allocations: 6.781 kB / 1.097 GB, free: 3.215 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.9996, allocations: 0 / 1.097 GB, free: 3.215 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/1, allocations: 249.9 kB / 1.097 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.639e-05/1, allocations: 27.31 kB / 1.097 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/1, allocations: 13.52 kB / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/1, allocations: 0 / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/1, allocations: 39.81 kB / 1.097 GB, free: 2.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.765e-06/1, allocations: 0 / 1.097 GB, free: 2.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001826/1.001, allocations: 44.27 kB / 1.097 GB, free: 2.793 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/1.001, allocations: 52 kB / 1.098 GB, free: 2.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/1.001, allocations: 93.02 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/1.001, allocations: 25.7 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/1.001, allocations: 80.14 kB / 1.098 GB, free: 2.523 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/1.001, allocations: 7.906 kB / 1.098 GB, free: 2.516 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/1.001, allocations: 0.5625 kB / 1.098 GB, free: 2.516 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.001, allocations: 319.4 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/1.001, allocations: 4.781 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/1.001, allocations: 8 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.645e-05/1.001, allocations: 4.562 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.001, allocations: 0.5 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001002/1.001, allocations: 42.23 kB / 1.098 GB, free: 2.133 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.001, allocations: 4.625 kB / 1.098 GB, free: 2.129 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/1.001, allocations: 4 kB / 1.098 GB, free: 2.125 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/1.001, allocations: 1.469 kB / 1.098 GB, free: 2.125 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/1.001, allocations: 12.52 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/1.001, allocations: 0.5 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/1.002, allocations: 16.67 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/1.002, allocations: 3.938 kB / 1.098 GB, free: 2.094 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 (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 7.706e-05/1.002, allocations: 111.5 kB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/1.002, allocations: 5.031 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/1.002, allocations: 48.94 kB / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.002, allocations: 0 / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.002, allocations: 0 / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.002, allocations: 0 / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/1.002, allocations: 142.2 kB / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.002, allocations: 2.562 kB / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/1.002, allocations: 11.98 kB / 1.098 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.002, allocations: 0 / 1.098 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/1.002, allocations: 4 kB / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.002, allocations: 0 / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.002, allocations: 0 / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001441/1.002, allocations: 143.5 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003086/1.003, allocations: 0.5076 MB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/1.003, allocations: 77.72 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/1.003, allocations: 4 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/1.003, allocations: 12.05 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/1.003, allocations: 4 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/1.003, allocations: 0 / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.77e-05/1.003, allocations: 87.05 kB / 1.099 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001108/1.004, allocations: 7.906 kB / 1.099 GB, free: 0.8438 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 (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.0001483/1.004, allocations: 95.25 kB / 1.099 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.603e-05/1.004, allocations: 19.98 kB / 1.099 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.004, allocations: 0 / 1.099 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/1.004, allocations: 7.938 kB / 1.099 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/1.005, allocations: 8 kB / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/1.005, allocations: 60 kB / 1.099 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/1.005, allocations: 0.6841 MB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of SimCode: time 7.72e-07/1.005, allocations: 4.125 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)