Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.333/1.333, allocations: 285.5 MB / 292.8 MB, free: 9.891 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.0009646/0.0009646, allocations: 185.2 kB / 361.1 MB, free: 400 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 205.1 MB / 0.6195 GB, free: 2.992 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007795/0.0007795, allocations: 89.44 kB / 0.7326 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3539/0.3547, allocations: 121.4 MB / 0.8512 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.4978, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4026/0.9004, allocations: 136.8 MB / 1.097 GB, free: 44.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001431/0.9006, allocations: 63.5 kB / 1.097 GB, free: 44.37 MB / 0.7136 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.002231/0.9029, allocations: 1.2 MB / 1.099 GB, free: 43.97 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.9029, allocations: 10.56 kB / 1.099 GB, free: 43.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.9029, allocations: 11.69 kB / 1.099 GB, free: 43.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.848e-05/0.903, allocations: 178.6 kB / 1.099 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.903, allocations: 3.875 kB / 1.099 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.9031, allocations: 3.875 kB / 1.099 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.386e-05/0.9031, allocations: 32.69 kB / 1.099 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.964e-05/0.9032, allocations: 80.88 kB / 1.099 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.9032, allocations: 3.938 kB / 1.099 GB, free: 43.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.9033, allocations: 7.906 kB / 1.099 GB, free: 43.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.9033, allocations: 4.625 kB / 1.099 GB, free: 43.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.9036, allocations: 414.9 kB / 1.099 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.886e-05/0.9037, allocations: 35.47 kB / 1.099 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.9037, allocations: 23.28 kB / 1.099 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.9037, allocations: 0 / 1.099 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.638e-06/0.9037, allocations: 37.12 kB / 1.099 GB, free: 43.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.9037, allocations: 0 / 1.099 GB, free: 43.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.9039, allocations: 43.08 kB / 1.099 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.549e-05/0.9039, allocations: 81.89 kB / 1.099 GB, free: 43.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.904, allocations: 122.4 kB / 1.1 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-06/0.904, allocations: 29.03 kB / 1.1 GB, free: 42.99 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.904, allocations: 108.9 kB / 1.1 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-06/0.904, allocations: 7.781 kB / 1.1 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.904, allocations: 4.062 kB / 1.1 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.9041, allocations: 317.6 kB / 1.1 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.9041, allocations: 9.594 kB / 1.1 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.9041, allocations: 21.56 kB / 1.1 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.878e-05/0.9041, allocations: 15.81 kB / 1.1 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.9041, allocations: 0 / 1.1 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.609e-05/0.9042, allocations: 57.58 kB / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.9042, allocations: 11.25 kB / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.9042, allocations: 3.938 kB / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-06/0.9042, allocations: 0 / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.806e-05/0.9043, allocations: 4.094 kB / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.9043, allocations: 3.875 kB / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.9043, allocations: 11.39 kB / 1.1 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.9044, allocations: 4.078 kB / 1.1 GB, free: 42.5 MB / 0.7136 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 3.37e-05/0.9044, allocations: 108.8 kB / 1.1 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.9044, allocations: 3.906 kB / 1.1 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.9045, allocations: 14.59 kB / 1.1 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.9045, allocations: 0 / 1.1 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.9045, allocations: 0 / 1.1 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9045, allocations: 3.875 kB / 1.1 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.9048, allocations: 450.5 kB / 1.101 GB, free: 57.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9048, allocations: 0 / 1.101 GB, free: 57.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.9048, allocations: 7.109 kB / 1.101 GB, free: 57.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.9048, allocations: 4.062 kB / 1.101 GB, free: 57.94 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.9048, allocations: 0 / 1.101 GB, free: 57.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.9048, allocations: 0 / 1.101 GB, free: 57.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9048, allocations: 3.75 kB / 1.101 GB, free: 57.94 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.983e-05/0.9049, allocations: 93.89 kB / 1.101 GB, free: 57.84 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001658/0.9051, allocations: 462.9 kB / 1.101 GB, free: 57.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.9051, allocations: 88.31 kB / 1.101 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.9051, allocations: 0 / 1.101 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.9052, allocations: 3.75 kB / 1.101 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.9052, allocations: 4.031 kB / 1.101 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.9052, allocations: 3.906 kB / 1.101 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.2e-05/0.9052, allocations: 105.2 kB / 1.101 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006793/0.9059, allocations: 7.625 kB / 1.101 GB, free: 57.2 MB / 0.7292 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 7.737e-05/0.906, allocations: 105.1 kB / 1.102 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.23e-05/0.9061, allocations: 18.69 kB / 1.102 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.9061, allocations: 0 / 1.102 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-06/0.9061, allocations: 3.844 kB / 1.102 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.347e-05/0.9062, allocations: 14.09 kB / 1.102 GB, free: 57.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.9064, allocations: 108.8 kB / 1.102 GB, free: 57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.9066, allocations: 0.7149 MB / 1.102 GB, free: 56.3 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.9066, allocations: 7.875 kB / 1.102 GB, free: 56.29 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1)