Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.To_hp,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.313/1.313, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.001059/0.001059, allocations: 185.2 kB / 361.1 MB, free: 7.047 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.014/1.014, allocations: 205.1 MB / 0.6195 GB, free: 11.87 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.0007396/0.0007397, allocations: 91.16 kB / 0.7326 GB, free: 44.42 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1773/0.1781, allocations: 121.4 MB / 0.8511 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.5846, allocations: 115.3 MB / 0.9638 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.7194, allocations: 136.8 MB / 1.097 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001705/0.7196, allocations: 64.48 kB / 1.097 GB, free: 3.156 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.002685/0.7223, allocations: 1.201 MB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.7224, allocations: 9.344 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.7224, allocations: 15.81 kB / 1.099 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.7225, allocations: 178.3 kB / 1.099 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.7226, allocations: 4 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.7226, allocations: 4 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.449e-05/0.7227, allocations: 44.77 kB / 1.099 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.7228, allocations: 79.31 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.7228, allocations: 0 / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.7228, allocations: 0 / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.7228, allocations: 4 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.7233, allocations: 409.3 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.441e-05/0.7234, allocations: 42.69 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.7234, allocations: 24.62 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.7234, allocations: 0.5625 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.7234, allocations: 35.09 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.7234, allocations: 0.5938 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001447/0.7236, allocations: 50.94 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.7236, allocations: 77.11 kB / 1.099 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.071e-05/0.7237, allocations: 127.7 kB / 1.1 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.7237, allocations: 26.39 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.7238, allocations: 108.6 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.7238, allocations: 3.906 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.7238, allocations: 1 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.7239, allocations: 325.4 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.7239, allocations: 4.719 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.993e-05/0.7239, allocations: 18.41 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.724, allocations: 13.75 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.724, allocations: 0 / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.172e-05/0.7241, allocations: 62.75 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.7241, allocations: 4 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.7241, allocations: 0.5312 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.7241, allocations: 0.7188 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.7242, allocations: 8 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.7242, allocations: 4.531 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.7242, allocations: 13.16 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.7242, allocations: 4 kB / 1.1 GB, free: 120 kB / 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 5.128e-05/0.7243, allocations: 104.9 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.7243, allocations: 8.625 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.7244, allocations: 11.58 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7244, allocations: 0.5938 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7244, allocations: 4.844 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.7244, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.7247, allocations: 448.9 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7247, allocations: 0.875 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.7248, allocations: 5.938 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.7248, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.7248, allocations: 4.188 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.7248, allocations: 4 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7248, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.082e-05/0.7249, allocations: 92.45 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001807/0.7251, allocations: 468 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.7251, allocations: 89 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.7251, allocations: 0 / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.7252, allocations: 0 / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.7252, allocations: 7.906 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.7252, allocations: 32 / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.448e-05/0.7252, allocations: 114.5 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007103/0.726, allocations: 11.91 kB / 1.101 GB, free: 14.65 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 8.465e-05/0.726, allocations: 99.03 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.457e-05/0.7261, allocations: 19.94 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.7261, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.7261, allocations: 4 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.009e-05/0.7262, allocations: 8.922 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.7265, allocations: 105.2 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.7267, allocations: 0.7184 MB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7267, allocations: 0 / 1.102 GB, free: 13.64 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1)