Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_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 7.0.3-maint.7.0.x/package.mo): time 1.227/1.227, allocations: 249.4 MB / 256.7 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009323/0.0009326, allocations: 177.3 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.177/1.177, allocations: 205.1 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008235/0.0008236, allocations: 75.47 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3539/0.3548, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.5266, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4836/1.01, allocations: 131.6 MB / 1.013 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/1.011, allocations: 70.11 kB / 1.013 GB, free: 7.152 MB / 0.6355 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.002753/1.013, allocations: 1.2 MB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.013, allocations: 8 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/1.013, allocations: 11.91 kB / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/1.014, allocations: 186.8 kB / 1.015 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/1.014, allocations: 0 / 1.015 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/1.014, allocations: 7.219 kB / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.251e-05/1.014, allocations: 36.97 kB / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/1.014, allocations: 85.08 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.014, allocations: 0 / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/1.014, allocations: 0 / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/1.014, allocations: 4 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/1.014, allocations: 414.2 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.139e-05/1.014, allocations: 45 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/1.015, allocations: 9.719 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/1.015, allocations: 8 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/1.015, allocations: 38.22 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/1.015, allocations: 0 / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001579/1.015, allocations: 41.08 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.015, allocations: 93.06 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/1.015, allocations: 124.1 kB / 1.016 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/1.015, allocations: 25.7 kB / 1.016 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/1.015, allocations: 103.9 kB / 1.016 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/1.015, allocations: 11.34 kB / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/1.015, allocations: 0 / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.015, allocations: 310.8 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/1.015, allocations: 9.875 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/1.015, allocations: 25.45 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.441e-05/1.015, allocations: 11.88 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.015, allocations: 3.906 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.997e-05/1.015, allocations: 51.77 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.015, allocations: 7.984 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.015, allocations: 0 / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.015, allocations: 8 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/1.015, allocations: 12.05 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/1.015, allocations: 0 / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/1.016, allocations: 3.938 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/1.016, allocations: 4 kB / 1.016 GB, free: 4.316 MB / 0.6355 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.098e-05/1.016, allocations: 101 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/1.016, allocations: 7.906 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/1.016, allocations: 14.97 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/1.016, allocations: 4 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.016, allocations: 3.906 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/1.016, allocations: 4 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/1.016, allocations: 451 kB / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.016, allocations: 0.9688 kB / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/1.016, allocations: 4 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/1.016, allocations: 3.938 kB / 1.017 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/1.016, allocations: 0 / 1.017 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.016, allocations: 8 kB / 1.017 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.016, allocations: 8 kB / 1.017 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.459e-05/1.016, allocations: 86.3 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002158/1.016, allocations: 467.5 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/1.017, allocations: 89 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/1.017, allocations: 0 / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.172e-05/1.017, allocations: 0 / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/1.017, allocations: 10.81 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/1.017, allocations: 3.938 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.181e-05/1.017, allocations: 104.4 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007085/1.017, allocations: 15.94 kB / 1.017 GB, free: 2.871 MB / 0.6355 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.0001176/1.018, allocations: 98.77 kB / 1.018 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.82e-05/1.018, allocations: 18.31 kB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/1.018, allocations: 0 / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/1.018, allocations: 11.31 kB / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/1.018, allocations: 5.203 kB / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/1.018, allocations: 110.6 kB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/1.018, allocations: 0.7114 MB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/1.018, allocations: 4 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1)