Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_hp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.307/1.307, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009548/0.0009547, allocations: 193.2 kB / 361.1 MB, free: 7.086 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.001/1.001, allocations: 205.1 MB / 0.6195 GB, free: 10.38 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.000794/0.0007941, allocations: 92.97 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1758/0.1766, allocations: 121.4 MB / 0.8512 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.5764, allocations: 115.3 MB / 0.9638 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.705, allocations: 136.8 MB / 1.097 GB, free: 3.301 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001653/0.7052, allocations: 60.53 kB / 1.097 GB, free: 3.242 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.002767/0.7079, allocations: 1.206 MB / 1.099 GB, free: 2.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.708, allocations: 8.5 kB / 1.099 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.708, allocations: 13.34 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.7082, allocations: 178.9 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.7082, allocations: 5 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.7082, allocations: 4.609 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.764e-05/0.7083, allocations: 33.62 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.7084, allocations: 87.23 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.7085, allocations: 3.859 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.7085, allocations: 1.125 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.7085, allocations: 4.656 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.709, allocations: 413.3 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.173e-05/0.7091, allocations: 46.7 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.7091, allocations: 13.84 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.7092, allocations: 3.906 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.7092, allocations: 40.38 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.7092, allocations: 0 / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001677/0.7094, allocations: 42.3 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.7094, allocations: 77.11 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.7095, allocations: 126.1 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.7096, allocations: 28.14 kB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.7096, allocations: 108 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.7096, allocations: 12.61 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.7096, allocations: 0 / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.7097, allocations: 318.1 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.7098, allocations: 8.5 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.7098, allocations: 19.06 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/0.7098, allocations: 12.52 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7098, allocations: 0.5938 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.32e-05/0.7099, allocations: 54.48 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.7099, allocations: 8.938 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.71, allocations: 0.6562 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.71, allocations: 0 / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.71, allocations: 16.61 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.7101, allocations: 0 / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.7101, allocations: 8.531 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.7101, allocations: 0.75 kB / 1.1 GB, free: 204 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 6.187e-05/0.7102, allocations: 114.8 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.7102, allocations: 3.906 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.7103, allocations: 8.906 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.7103, allocations: 0.75 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.7103, allocations: 0 / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7103, allocations: 4.5 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.7107, allocations: 452.8 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7107, allocations: 0.625 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.7107, allocations: 5.75 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7107, allocations: 3.984 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.7108, allocations: 0.9062 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7108, allocations: 0 / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7108, allocations: 3.938 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.068e-05/0.7109, allocations: 90.25 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001894/0.7111, allocations: 473 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.7111, allocations: 89 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.7111, allocations: 0 / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.242e-05/0.7112, allocations: 2 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.7112, allocations: 7.844 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.7112, allocations: 4 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.207e-05/0.7113, allocations: 106 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007216/0.712, allocations: 15.91 kB / 1.101 GB, free: 14.73 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.0001123/0.7121, allocations: 99.78 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.317e-05/0.7122, allocations: 20 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7122, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-05/0.7122, allocations: 7.938 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.7123, allocations: 1.406 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.7126, allocations: 113.4 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.7129, allocations: 0.7113 MB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7129, allocations: 0 / 1.102 GB, free: 13.72 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1)