Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.139/2.139, 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.00162/0.00162, allocations: 183.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.666/1.666, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001209/0.001209, allocations: 89.62 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2493/0.2506, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.8035, allocations: 115.2 MB / 0.9627 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2111/1.015, allocations: 136.6 MB / 1.096 GB, free: 4.285 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/1.015, allocations: 64.48 kB / 1.096 GB, free: 4.223 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.004284/1.019, allocations: 1.209 MB / 1.097 GB, free: 3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.019, allocations: 8.5 kB / 1.097 GB, free: 2.992 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/1.019, allocations: 15.81 kB / 1.097 GB, free: 2.977 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/1.02, allocations: 178.8 kB / 1.098 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/1.02, allocations: 4 kB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/1.02, allocations: 5.234 kB / 1.098 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001423/1.02, allocations: 32 kB / 1.098 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/1.02, allocations: 87.22 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/1.02, allocations: 2.25 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/1.02, allocations: 0.8438 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/1.02, allocations: 6.625 kB / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/1.021, allocations: 417 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.29e-05/1.021, allocations: 41.97 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/1.021, allocations: 15.69 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/1.021, allocations: 0 / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.021, allocations: 35.06 kB / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/1.021, allocations: 0.7812 kB / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002016/1.021, allocations: 51.47 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/1.021, allocations: 81.11 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/1.021, allocations: 123.7 kB / 1.098 GB, free: 1.777 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/1.021, allocations: 26.3 kB / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/1.021, allocations: 108.6 kB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.266e-06/1.021, allocations: 3.906 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/1.021, allocations: 0.6562 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.022, allocations: 326.1 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/1.022, allocations: 8.531 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.265e-05/1.022, allocations: 18.56 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/1.022, allocations: 4.562 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.022, allocations: 2.25 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001384/1.022, allocations: 65.53 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.022, allocations: 5.406 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/1.022, allocations: 2 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/1.022, allocations: 3.75 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/1.022, allocations: 10.94 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/1.022, allocations: 7.609 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/1.022, allocations: 7.844 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/1.022, allocations: 4 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.751e-05/1.022, allocations: 104.8 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/1.022, allocations: 11.89 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/1.022, allocations: 9.297 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.022, allocations: 4.125 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.022, allocations: 4 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.022, allocations: 0 / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/1.023, allocations: 451.3 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.023, allocations: 0 / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/1.023, allocations: 4 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.023, allocations: 0 / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/1.023, allocations: 0 / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/1.023, allocations: 9.562 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.023, allocations: 3.938 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001223/1.023, allocations: 87.52 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002855/1.023, allocations: 468 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/1.024, allocations: 89.02 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/1.024, allocations: 0 / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/1.024, allocations: 0 / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/1.024, allocations: 16.34 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/1.024, allocations: 0 / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.948e-05/1.024, allocations: 106.1 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001121/1.025, allocations: 11.91 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001335/1.025, allocations: 99.23 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001037/1.025, allocations: 12 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.025, allocations: 4 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.636e-05/1.025, allocations: 11.94 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/1.025, allocations: 2.062 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/1.026, allocations: 113.4 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/1.026, allocations: 0.7113 MB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/1.026, allocations: 0 / 1.101 GB, free: 14.69 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)