Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.163/2.163, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001614/0.001613, allocations: 171.8 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.69/1.69, 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.001205/0.001205, allocations: 84.2 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2402/0.2415, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.557/0.7985, allocations: 115.2 MB / 0.9628 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/1.002, allocations: 136.5 MB / 1.096 GB, free: 4.227 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.003, allocations: 67.97 kB / 1.096 GB, free: 4.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.003894/1.007, allocations: 0.8748 MB / 1.097 GB, free: 3.285 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.007, allocations: 9.156 kB / 1.097 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/1.007, allocations: 7.906 kB / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/1.007, allocations: 171.5 kB / 1.097 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/1.007, allocations: 4 kB / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/1.007, allocations: 0.8438 kB / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001118/1.007, allocations: 16 kB / 1.097 GB, free: 3.043 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/1.007, allocations: 44.72 kB / 1.097 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/1.007, allocations: 8 kB / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.007, allocations: 0 / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/1.007, allocations: 0 / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/1.008, allocations: 286 kB / 1.098 GB, free: 2.672 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.912e-05/1.008, allocations: 34.52 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.137e-05/1.008, allocations: 12.86 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/1.008, allocations: 4 kB / 1.098 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.008, allocations: 36.75 kB / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/1.008, allocations: 0 / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002065/1.008, allocations: 54.3 kB / 1.098 GB, free: 2.508 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/1.008, allocations: 51.41 kB / 1.098 GB, free: 2.445 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/1.009, allocations: 104.7 kB / 1.098 GB, free: 2.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/1.009, allocations: 25.7 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/1.009, allocations: 84.14 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/1.009, allocations: 15.8 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/1.009, allocations: 0 / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.009, allocations: 314.8 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/1.009, allocations: 11.94 kB / 1.098 GB, free: 1.879 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/1.009, allocations: 4 kB / 1.098 GB, free: 1.875 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/1.009, allocations: 8.938 kB / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.009, allocations: 4 kB / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001464/1.009, allocations: 53.59 kB / 1.098 GB, free: 1.805 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/1.009, allocations: 4 kB / 1.098 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/1.009, allocations: 5.406 kB / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/1.009, allocations: 0 / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/1.01, allocations: 27.97 kB / 1.098 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/1.01, allocations: 0 / 1.098 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/1.01, allocations: 23.92 kB / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/1.01, allocations: 0 / 1.098 GB, free: 1.746 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 (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 8.968e-05/1.01, allocations: 104.8 kB / 1.098 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/1.01, allocations: 7.906 kB / 1.098 GB, free: 1.629 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/1.01, allocations: 8.703 kB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.01, allocations: 5.5 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/1.01, allocations: 4 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.01, allocations: 3.938 kB / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/1.01, allocations: 146.1 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.01, allocations: 0 / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/1.01, allocations: 27.98 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.01, allocations: 1.969 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/1.01, allocations: 0.6094 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.01, allocations: 0 / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.01, allocations: 0 / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001888/1.011, allocations: 149.1 kB / 1.099 GB, free: 1.238 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003695/1.011, allocations: 0.5238 MB / 1.099 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/1.011, allocations: 81.02 kB / 1.099 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/1.011, allocations: 0 / 1.099 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/1.011, allocations: 15.98 kB / 1.099 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/1.011, allocations: 12.64 kB / 1.099 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/1.011, allocations: 0 / 1.099 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.008e-05/1.012, allocations: 83.28 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001088/1.013, allocations: 11.94 kB / 1.1 GB, free: 488 kB / 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 (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.00017/1.013, allocations: 99.23 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001456/1.013, allocations: 24 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.013, allocations: 0 / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/1.013, allocations: 16 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/1.013, allocations: 11.33 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/1.014, allocations: 75.17 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/1.014, allocations: 0.6964 MB / 1.1 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of SimCode: time 1.413e-06/1.014, allocations: 3.938 kB / 1.1 GB, free: 15.51 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)