Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_hp,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.363/1.363, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001026/0.001026, allocations: 173.4 kB / 366.3 MB, free: 1.984 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.111/1.111, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0008177/0.0008177, allocations: 78.31 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2153/0.2161, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.6653, allocations: 116.3 MB / 0.9727 GB, free: 68.51 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.8087, allocations: 137.7 MB / 1.107 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.809, allocations: 67.89 kB / 1.107 GB, free: 10.66 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.002802/0.8118, allocations: 1.202 MB / 1.108 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.8119, allocations: 8.75 kB / 1.108 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.8119, allocations: 15.81 kB / 1.108 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.8121, allocations: 183.1 kB / 1.109 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.8121, allocations: 0 / 1.109 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.8121, allocations: 5.562 kB / 1.109 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001021/0.8122, allocations: 39.92 kB / 1.109 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.8124, allocations: 84.28 kB / 1.109 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.8124, allocations: 0 / 1.109 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.8124, allocations: 0.5625 kB / 1.109 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-06/0.8124, allocations: 4 kB / 1.109 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.813, allocations: 429.1 kB / 1.109 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.813, allocations: 33.22 kB / 1.109 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.8131, allocations: 13.72 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.8131, allocations: 4.625 kB / 1.109 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.8131, allocations: 34.56 kB / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.384e-06/0.8131, allocations: 96 / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000168/0.8133, allocations: 49.55 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.8134, allocations: 85.09 kB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.8135, allocations: 122.4 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.8135, allocations: 26.92 kB / 1.109 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.8136, allocations: 108 kB / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/0.8136, allocations: 3.906 kB / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.8136, allocations: 4 kB / 1.11 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.8137, allocations: 321.5 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.8137, allocations: 8 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.8138, allocations: 21.64 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.8138, allocations: 8 kB / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.8138, allocations: 4 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.875e-05/0.8139, allocations: 53.61 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.8139, allocations: 7.984 kB / 1.11 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.8139, allocations: 4.062 kB / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.8139, allocations: 224 / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.814, allocations: 8.562 kB / 1.11 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.814, allocations: 7.875 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.8141, allocations: 7.844 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.8141, allocations: 4 kB / 1.11 GB, free: 7.578 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.487e-05/0.8141, allocations: 101 kB / 1.11 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.8142, allocations: 7.906 kB / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.8142, allocations: 12.14 kB / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8142, allocations: 8 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8142, allocations: 0 / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8143, allocations: 0 / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.8146, allocations: 447.3 kB / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.8146, allocations: 0 / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.8146, allocations: 4.75 kB / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.8146, allocations: 0 / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.8147, allocations: 4.062 kB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8147, allocations: 4 kB / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8147, allocations: 0 / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.624e-05/0.8148, allocations: 91.52 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001802/0.815, allocations: 468 kB / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.815, allocations: 89 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.815, allocations: 0.8438 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.8151, allocations: 0 / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.8151, allocations: 7.906 kB / 1.111 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.8151, allocations: 128 / 1.111 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.003e-05/0.8152, allocations: 112.5 kB / 1.111 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007742/0.8159, allocations: 11.91 kB / 1.111 GB, free: 6.105 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.0001212/0.8161, allocations: 95.25 kB / 1.111 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.123e-05/0.8161, allocations: 19.94 kB / 1.111 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8162, allocations: 0 / 1.111 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/0.8162, allocations: 4.656 kB / 1.111 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.8163, allocations: 12.72 kB / 1.111 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.8165, allocations: 104.3 kB / 1.112 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.8168, allocations: 0.723 MB / 1.112 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of SimCode: time 1.323e-06/0.8168, allocations: 0.6562 kB / 1.112 GB, free: 5.094 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1)