Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009149/0.0009149, allocations: 177.3 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9936/0.9936, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007836/0.0007838, allocations: 89.39 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1713/0.1722, allocations: 121.5 MB / 0.8512 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.5834, allocations: 115.3 MB / 0.9638 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.7146, allocations: 136.8 MB / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.7149, allocations: 65.98 kB / 1.097 GB, free: 3.168 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.001774/0.7166, allocations: 0.6898 MB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.7167, allocations: 12.5 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.7167, allocations: 4.688 kB / 1.098 GB, free: 2.449 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.7168, allocations: 164 kB / 1.098 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.7169, allocations: 0.5938 kB / 1.098 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.7169, allocations: 4.938 kB / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.997e-05/0.7169, allocations: 8 kB / 1.098 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.195e-05/0.717, allocations: 38.22 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.717, allocations: 0 / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.717, allocations: 9.672 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.717, allocations: 0.8438 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.7174, allocations: 249.2 kB / 1.099 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.666e-05/0.7174, allocations: 18.58 kB / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.7175, allocations: 13.58 kB / 1.099 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.7175, allocations: 5.75 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.7175, allocations: 38.73 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7175, allocations: 4 kB / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000125/0.7177, allocations: 38.23 kB / 1.099 GB, free: 1.773 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.7177, allocations: 53.06 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.395e-05/0.7178, allocations: 94.28 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.7178, allocations: 27.3 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.7178, allocations: 88.12 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.7178, allocations: 3.906 kB / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.7178, allocations: 0 / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.7179, allocations: 315.4 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.7179, allocations: 4.656 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.168e-05/0.7179, allocations: 4.688 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.738e-05/0.718, allocations: 4.812 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.718, allocations: 0 / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.373e-05/0.718, allocations: 46.22 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.7181, allocations: 10.72 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.7181, allocations: 0 / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-06/0.7181, allocations: 4.625 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.574e-05/0.7182, allocations: 9.438 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.7182, allocations: 7.922 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/0.7183, allocations: 9.969 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.7183, allocations: 0 / 1.099 GB, free: 1.078 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 5.163e-05/0.7183, allocations: 109.5 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.7184, allocations: 4.594 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.026e-05/0.7184, allocations: 53.12 kB / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7185, allocations: 0.75 kB / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.7185, allocations: 0 / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.7185, allocations: 0 / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.7186, allocations: 138.1 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.7186, allocations: 0 / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.7187, allocations: 11.98 kB / 1.1 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7187, allocations: 0 / 1.1 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.7187, allocations: 12.03 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7187, allocations: 4.234 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.7187, allocations: 0 / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.79e-05/0.7188, allocations: 135.4 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001563/0.719, allocations: 0.5077 MB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.719, allocations: 77.86 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.719, allocations: 4 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.7191, allocations: 11.98 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.7192, allocations: 4 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.7192, allocations: 0 / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.796e-05/0.7192, allocations: 81.86 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007218/0.7199, allocations: 11.91 kB / 1.1 GB, free: 15.83 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.0001027/0.72, allocations: 103.5 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.658e-05/0.7201, allocations: 15.94 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.7201, allocations: 0 / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.7201, allocations: 8 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.7203, allocations: 6.75 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001704/0.7205, allocations: 60.86 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.7207, allocations: 0.6919 MB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of SimCode: time 1.283e-06/0.7207, allocations: 3 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)