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_hp.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_hp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",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.214/1.214, allocations: 249.4 MB / 256.7 MB, free: 6.973 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.001007/0.001007, allocations: 173.2 kB / 316 MB, free: 3.59 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.196/1.196, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0009396/0.0009397, allocations: 92.58 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3565/0.3575, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.5266, allocations: 106.3 MB / 0.8847 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4928/1.019, allocations: 131.7 MB / 1.013 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/1.02, allocations: 71.27 kB / 1.013 GB, free: 6.895 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.002897/1.023, allocations: 1.213 MB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.023, allocations: 8 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/1.023, allocations: 11.91 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/1.023, allocations: 178.8 kB / 1.015 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/1.023, allocations: 4 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/1.023, allocations: 4 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.81e-05/1.023, allocations: 37.84 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/1.023, allocations: 80.38 kB / 1.015 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.023, allocations: 3.984 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.023, allocations: 4 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/1.023, allocations: 4 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/1.024, allocations: 417.9 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.131e-05/1.024, allocations: 36.38 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/1.024, allocations: 13.84 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/1.024, allocations: 0 / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/1.024, allocations: 49.58 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/1.024, allocations: 0 / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001648/1.024, allocations: 40.89 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.024, allocations: 85.02 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/1.024, allocations: 122.3 kB / 1.016 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/1.024, allocations: 25.7 kB / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/1.024, allocations: 103.1 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-06/1.024, allocations: 7.656 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/1.024, allocations: 4.062 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.024, allocations: 322 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/1.024, allocations: 6.562 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/1.024, allocations: 17.09 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.098e-05/1.024, allocations: 7.875 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.024, allocations: 7.906 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.091e-05/1.025, allocations: 61.41 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.025, allocations: 4 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/1.025, allocations: 0 / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/1.025, allocations: 3.906 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/1.025, allocations: 8 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/1.025, allocations: 0 / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/1.025, allocations: 3.938 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/1.025, allocations: 4 kB / 1.016 GB, free: 4.059 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 5.449e-05/1.025, allocations: 104.9 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/1.025, allocations: 11.89 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/1.025, allocations: 14.33 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.025, allocations: 8.078 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.025, allocations: 3.906 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.025, allocations: 0 / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/1.025, allocations: 451.4 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.025, allocations: 224 / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/1.025, allocations: 4 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.025, allocations: 8 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/1.025, allocations: 0 / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.025, allocations: 4 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.025, allocations: 6.438 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.662e-05/1.025, allocations: 87.3 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001588/1.026, allocations: 470.8 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/1.026, allocations: 85.02 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/1.026, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/1.026, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/1.026, allocations: 15.95 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/1.026, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.257e-05/1.026, allocations: 103.6 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007195/1.026, allocations: 11.91 kB / 1.017 GB, free: 2.613 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.000109/1.027, allocations: 102.8 kB / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.661e-05/1.027, allocations: 15.81 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.027, allocations: 3.562 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/1.027, allocations: 8.125 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.893e-05/1.027, allocations: 7.5 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/1.027, allocations: 107.4 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/1.027, allocations: 0.7075 MB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/1.027, allocations: 0 / 1.018 GB, free: 1.621 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1)