Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.From_hp,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_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 8.0.0/package.mo): time 2.128/2.128, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001622/0.001622, allocations: 181.2 kB / 360.3 MB, free: 7.527 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.661/1.661, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001246/0.001245, allocations: 92.02 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2454/0.2467, allocations: 121.4 MB / 0.8502 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.8022, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2076/1.01, allocations: 136.6 MB / 1.096 GB, free: 4.262 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.01, allocations: 63.95 kB / 1.096 GB, free: 4.199 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.004202/1.014, allocations: 1.207 MB / 1.097 GB, free: 2.977 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.014, allocations: 12.44 kB / 1.097 GB, free: 2.965 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/1.015, allocations: 16.47 kB / 1.097 GB, free: 2.949 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/1.015, allocations: 172.2 kB / 1.098 GB, free: 2.742 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.015, allocations: 5.188 kB / 1.098 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/1.015, allocations: 4 kB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001419/1.015, allocations: 39.92 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/1.015, allocations: 81.28 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.015, allocations: 0.75 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/1.015, allocations: 0 / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.015, allocations: 7.188 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006676/1.016, allocations: 422.3 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.784e-05/1.016, allocations: 35.47 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/1.016, allocations: 17.84 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/1.016, allocations: 2.922 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/1.016, allocations: 35.06 kB / 1.098 GB, free: 2.035 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/1.016, allocations: 0.5938 kB / 1.098 GB, free: 2.035 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002019/1.016, allocations: 46.92 kB / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/1.016, allocations: 81.09 kB / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/1.016, allocations: 129.6 kB / 1.098 GB, free: 1.754 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/1.017, allocations: 25.7 kB / 1.098 GB, free: 1.723 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/1.017, allocations: 108.5 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.246e-06/1.017, allocations: 5.5 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.017, allocations: 0 / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.017, allocations: 321.4 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.492e-05/1.017, allocations: 12.52 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/1.017, allocations: 18.31 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/1.017, allocations: 9.312 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.017, allocations: 0 / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001269/1.017, allocations: 58.8 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.017, allocations: 7.984 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/1.017, allocations: 0.5625 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.017, allocations: 2.188 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/1.017, allocations: 9.969 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/1.017, allocations: 0 / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/1.017, allocations: 15.72 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/1.017, allocations: 0 / 1.099 GB, free: 1.152 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.059e-05/1.017, allocations: 106.7 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/1.017, allocations: 8.422 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/1.017, allocations: 11.58 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/1.017, allocations: 0.5938 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.018, allocations: 4 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.018, allocations: 1.188 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/1.018, allocations: 452.7 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.018, allocations: 1.406 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/1.018, allocations: 4 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.018, allocations: 0.6875 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/1.018, allocations: 0 / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.018, allocations: 4.188 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.018, allocations: 5.016 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001193/1.018, allocations: 89.89 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002419/1.019, allocations: 470.1 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/1.019, allocations: 93.56 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/1.019, allocations: 0 / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/1.019, allocations: 0 / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/1.019, allocations: 3.906 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/1.019, allocations: 4 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.851e-05/1.019, allocations: 103.3 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001047/1.02, allocations: 15.91 kB / 1.1 GB, free: 15.68 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.0001188/1.02, allocations: 95.25 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.909e-05/1.02, allocations: 15.94 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.02, allocations: 0 / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/1.02, allocations: 12 kB / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/1.02, allocations: 1.203 kB / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/1.021, allocations: 113.4 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/1.021, allocations: 0.7122 MB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/1.021, allocations: 3.938 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1)