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_Btu.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_Btu,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.206/1.206, allocations: 249.4 MB / 256.7 MB, free: 6.891 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.0009705/0.0009706, allocations: 173.3 kB / 316 MB, free: 3.539 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.128/1.128, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0008996/0.0008996, allocations: 92.22 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.352/0.3529, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.5258, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4894/1.015, allocations: 131.7 MB / 1.013 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/1.016, allocations: 68.77 kB / 1.013 GB, free: 6.887 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.00277/1.018, allocations: 1.206 MB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/1.018, allocations: 11.94 kB / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/1.018, allocations: 15.91 kB / 1.015 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/1.019, allocations: 170.9 kB / 1.015 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/1.019, allocations: 4 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/1.019, allocations: 4 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.565e-05/1.019, allocations: 37.72 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/1.019, allocations: 85.33 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/1.019, allocations: 0 / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/1.019, allocations: 0 / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.019, allocations: 4 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/1.019, allocations: 424.4 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.951e-05/1.019, allocations: 36.84 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/1.019, allocations: 13.72 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/1.019, allocations: 0 / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/1.019, allocations: 46.34 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.019, allocations: 0 / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001506/1.02, allocations: 41.64 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/1.02, allocations: 92.81 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/1.02, allocations: 125.7 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/1.02, allocations: 25.7 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/1.02, allocations: 103.4 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-06/1.02, allocations: 3.906 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/1.02, allocations: 0 / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/1.02, allocations: 322 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/1.02, allocations: 9.375 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/1.02, allocations: 21.39 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/1.02, allocations: 7.938 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.02, allocations: 7.906 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.446e-05/1.02, allocations: 54.77 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/1.02, allocations: 7.984 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/1.02, allocations: 4.062 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.02, allocations: 3.906 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/1.02, allocations: 8 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/1.02, allocations: 0 / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/1.02, allocations: 3.938 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/1.02, allocations: 4 kB / 1.016 GB, free: 4.051 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 6.714e-05/1.02, allocations: 101 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/1.02, allocations: 11.98 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/1.02, allocations: 14.09 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.021, allocations: 8 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.021, allocations: 7.844 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.021, allocations: 0 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/1.021, allocations: 446.6 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.021, allocations: 0 / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/1.021, allocations: 4 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.021, allocations: 0 / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/1.021, allocations: 8 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.021, allocations: 4 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.021, allocations: 0 / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.74e-05/1.021, allocations: 86.23 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001637/1.021, allocations: 470.7 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/1.021, allocations: 96.06 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/1.021, allocations: 0 / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.125e-05/1.021, allocations: 2.734 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/1.021, allocations: 4 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/1.021, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.292e-05/1.021, allocations: 114 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000707/1.022, allocations: 11.91 kB / 1.017 GB, free: 2.605 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.0001057/1.022, allocations: 95.25 kB / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.927e-05/1.022, allocations: 14.56 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.022, allocations: 0 / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/1.022, allocations: 11.31 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/1.022, allocations: 256 / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/1.023, allocations: 114.7 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/1.023, allocations: 0.7114 MB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.023, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)