Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.369/1.369, allocations: 289.8 MB / 297.1 MB, free: 6.566 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.0009871/0.0009869, allocations: 177.3 kB / 366.3 MB, free: 1.926 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.102/1.102, allocations: 205.1 MB / 0.6256 GB, free: 5.773 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.0007912/0.0007912, allocations: 87.97 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2029/0.2038, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.6668, allocations: 116.3 MB / 0.9727 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.8051, allocations: 137.7 MB / 1.107 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.8053, allocations: 59.97 kB / 1.107 GB, free: 10.62 MB / 0.7136 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.002734/0.808, allocations: 1.212 MB / 1.108 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.8081, allocations: 8 kB / 1.108 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.8081, allocations: 11.81 kB / 1.108 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.8083, allocations: 182.8 kB / 1.109 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.8083, allocations: 4 kB / 1.109 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.8083, allocations: 4 kB / 1.109 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.646e-05/0.8084, allocations: 35.98 kB / 1.109 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.8085, allocations: 87.3 kB / 1.109 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8085, allocations: 0 / 1.109 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.8085, allocations: 3.938 kB / 1.109 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.8086, allocations: 4 kB / 1.109 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.8091, allocations: 409.2 kB / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.663e-05/0.8091, allocations: 41.14 kB / 1.109 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.8091, allocations: 17.88 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.8092, allocations: 4.844 kB / 1.109 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.8092, allocations: 34.56 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8092, allocations: 0 / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001506/0.8094, allocations: 41.61 kB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.8094, allocations: 81.05 kB / 1.109 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.8095, allocations: 127.7 kB / 1.109 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.8095, allocations: 25.77 kB / 1.109 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.8096, allocations: 112 kB / 1.11 GB, free: 8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.8096, allocations: 11.89 kB / 1.11 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.8096, allocations: 0.9375 kB / 1.11 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.8097, allocations: 317.4 kB / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.8097, allocations: 8 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.8097, allocations: 17.72 kB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.8097, allocations: 15.98 kB / 1.11 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.8097, allocations: 0 / 1.11 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.634e-05/0.8098, allocations: 57.55 kB / 1.11 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.8098, allocations: 4 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.8098, allocations: 0 / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.8099, allocations: 0 / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.8099, allocations: 12.95 kB / 1.11 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.8099, allocations: 0 / 1.11 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.81, allocations: 11.78 kB / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.81, allocations: 0 / 1.11 GB, free: 7.535 MB / 0.7136 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.143e-05/0.81, allocations: 109 kB / 1.11 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.8101, allocations: 7.906 kB / 1.11 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.8101, allocations: 11.59 kB / 1.11 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.8101, allocations: 0 / 1.11 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8101, allocations: 5.594 kB / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.8101, allocations: 0 / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.8104, allocations: 455.3 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8105, allocations: 0 / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.8105, allocations: 4 kB / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.8105, allocations: 3.984 kB / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.8105, allocations: 0 / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.8105, allocations: 0 / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8105, allocations: 4 kB / 1.111 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.852e-05/0.8106, allocations: 91.53 kB / 1.111 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001541/0.8108, allocations: 464 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.8108, allocations: 93 kB / 1.111 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.8108, allocations: 4.062 kB / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.252e-05/0.8109, allocations: 0 / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.8109, allocations: 3.906 kB / 1.111 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.8109, allocations: 4 kB / 1.111 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.049e-05/0.8109, allocations: 101.5 kB / 1.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007929/0.8117, allocations: 17.78 kB / 1.111 GB, free: 6.055 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 9.853e-05/0.8118, allocations: 99.19 kB / 1.111 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.325e-05/0.8119, allocations: 20 kB / 1.111 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8119, allocations: 0 / 1.111 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.8119, allocations: 8 kB / 1.111 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.837e-05/0.812, allocations: 0.8594 kB / 1.111 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.8123, allocations: 112.3 kB / 1.112 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.8126, allocations: 0.7138 MB / 1.112 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.8126, allocations: 3.938 kB / 1.112 GB, free: 5.043 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1)