Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_hp,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.093/2.093, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001632/0.001632, allocations: 185.2 kB / 360.3 MB, free: 7.559 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.678/1.678, allocations: 205.1 MB / 0.6187 GB, free: 13.29 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.001198/0.001197, allocations: 93 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2573/0.2586, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5663/0.8249, allocations: 115.2 MB / 0.9628 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.214/1.039, allocations: 136.6 MB / 1.096 GB, free: 4.273 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/1.039, allocations: 64.48 kB / 1.096 GB, free: 4.211 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.004341/1.044, allocations: 1.202 MB / 1.097 GB, free: 2.996 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/1.044, allocations: 9.656 kB / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/1.044, allocations: 15.81 kB / 1.097 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/1.044, allocations: 182.8 kB / 1.098 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.044, allocations: 8.719 kB / 1.098 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/1.044, allocations: 4.609 kB / 1.098 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000135/1.044, allocations: 32 kB / 1.098 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/1.044, allocations: 90.23 kB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.044, allocations: 0 / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/1.044, allocations: 0 / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/1.044, allocations: 4.656 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/1.045, allocations: 414.4 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.971e-05/1.045, allocations: 38.75 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/1.045, allocations: 17.84 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/1.045, allocations: 1.969 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.045, allocations: 40.08 kB / 1.098 GB, free: 2.047 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.144e-06/1.045, allocations: 0.5625 kB / 1.098 GB, free: 2.047 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001973/1.045, allocations: 46.05 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/1.046, allocations: 78.42 kB / 1.098 GB, free: 1.902 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/1.046, allocations: 128.5 kB / 1.098 GB, free: 1.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/1.046, allocations: 26.2 kB / 1.098 GB, free: 1.738 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/1.046, allocations: 108.6 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/1.046, allocations: 5.188 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/1.046, allocations: 0 / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.046, allocations: 325.4 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/1.046, allocations: 8.75 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/1.046, allocations: 14.31 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/1.046, allocations: 8.906 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.046, allocations: 0.5312 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001333/1.046, allocations: 66.03 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.046, allocations: 4.5 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.046, allocations: 0.8125 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/1.046, allocations: 224 / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/1.046, allocations: 10.06 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.046, allocations: 3.938 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/1.047, allocations: 10.16 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/1.047, allocations: 4 kB / 1.099 GB, free: 1.168 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.526e-05/1.047, allocations: 108.8 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/1.047, allocations: 8.562 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/1.047, allocations: 7.594 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/1.047, allocations: 4.125 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/1.047, allocations: 4 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.047, allocations: 1.312 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/1.047, allocations: 447.3 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.047, allocations: 0 / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/1.047, allocations: 6.062 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.047, allocations: 0 / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/1.047, allocations: 0 / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.047, allocations: 8 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.047, allocations: 7.984 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001337/1.048, allocations: 87.53 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002746/1.048, allocations: 469.4 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/1.048, allocations: 85.77 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/1.048, allocations: 3.984 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/1.048, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/1.048, allocations: 7.844 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/1.048, allocations: 4 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.256e-05/1.048, allocations: 111.1 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001052/1.049, allocations: 11.91 kB / 1.1 GB, free: 15.69 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.0001382/1.049, allocations: 99.23 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001023/1.05, allocations: 12 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.05, allocations: 0 / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/1.05, allocations: 11.94 kB / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/1.05, allocations: 5.453 kB / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/1.05, allocations: 109.1 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/1.051, allocations: 0.7127 MB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/1.051, allocations: 0 / 1.101 GB, free: 14.69 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1)