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.Exp.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.Exp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.45 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.0008831/0.0008831, allocations: 177.3 kB / 361.1 MB, free: 7.086 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.004/1.004, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007753/0.0007753, allocations: 94.34 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.177/0.1778, allocations: 121.5 MB / 0.8512 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.5886, allocations: 115.3 MB / 0.9638 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.7129, allocations: 136.7 MB / 1.097 GB, free: 3.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001407/0.7131, allocations: 77.2 kB / 1.097 GB, free: 3.18 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.001537/0.7146, allocations: 0.6679 MB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.7147, allocations: 8.5 kB / 1.098 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.7147, allocations: 3.906 kB / 1.098 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.823e-05/0.7148, allocations: 167.6 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.7148, allocations: 0 / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.7148, allocations: 3.062 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.713e-05/0.7149, allocations: 14.59 kB / 1.098 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.133e-05/0.7149, allocations: 41.69 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.715, allocations: 0 / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.715, allocations: 3.906 kB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.715, allocations: 0 / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.7153, allocations: 244.1 kB / 1.098 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.339e-05/0.7154, allocations: 23.98 kB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.7154, allocations: 9.672 kB / 1.099 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.7154, allocations: 3.25 kB / 1.099 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.7154, allocations: 43 kB / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7154, allocations: 0 / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001188/0.7156, allocations: 42.81 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.7156, allocations: 51.41 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/0.7156, allocations: 94.41 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.7157, allocations: 26.36 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.7157, allocations: 81.89 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.7157, allocations: 7.906 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.7157, allocations: 0.8438 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.7158, allocations: 315.5 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.7158, allocations: 8 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-06/0.7158, allocations: 2.281 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.552e-05/0.7159, allocations: 8 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7159, allocations: 0 / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.938e-05/0.7159, allocations: 41.55 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.7159, allocations: 8.938 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.7159, allocations: 0 / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-06/0.716, allocations: 0 / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.7161, allocations: 17.42 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.7161, allocations: 6.25 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.488e-05/0.7161, allocations: 13.61 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.7161, allocations: 0 / 1.099 GB, free: 1.105 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 4.864e-05/0.7162, allocations: 106.2 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.7162, allocations: 5.688 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.7163, allocations: 47.64 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.7163, allocations: 3.938 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.7163, allocations: 0 / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.7163, allocations: 0 / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.7164, allocations: 138.9 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.7165, allocations: 0 / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.694e-05/0.7165, allocations: 20.7 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7165, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.7166, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.7166, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.7166, allocations: 1.078 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.208e-05/0.7167, allocations: 139.5 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001746/0.7168, allocations: 0.5131 MB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.7169, allocations: 81.11 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.7169, allocations: 2.25 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.717, allocations: 11.98 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.717, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.717, allocations: 4.031 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.758e-05/0.7171, allocations: 79.28 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007253/0.7178, allocations: 7.906 kB / 1.1 GB, free: 15.86 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 9.434e-05/0.7179, allocations: 103 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.624e-05/0.718, allocations: 14.59 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.718, allocations: 0 / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.282e-05/0.718, allocations: 12 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.7181, allocations: 6.703 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001676/0.7183, allocations: 64.66 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.7185, allocations: 0.688 MB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of SimCode: time 1.533e-06/0.7185, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1)