Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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_ton,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",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.155/2.155, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001567/0.001567, allocations: 181.2 kB / 360.3 MB, free: 7.539 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.641/1.641, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001264/0.001264, allocations: 82.97 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2447/0.246, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5711/0.8172, allocations: 115.2 MB / 0.9627 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2076/1.025, allocations: 136.6 MB / 1.096 GB, free: 4.258 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/1.025, allocations: 61.28 kB / 1.096 GB, free: 4.199 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.004342/1.03, allocations: 1.198 MB / 1.097 GB, free: 2.984 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/1.03, allocations: 14.22 kB / 1.097 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/1.03, allocations: 18.06 kB / 1.097 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/1.03, allocations: 184.8 kB / 1.098 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/1.03, allocations: 0 / 1.098 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/1.03, allocations: 4 kB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001396/1.03, allocations: 34.52 kB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/1.03, allocations: 83.25 kB / 1.098 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.03, allocations: 3.984 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/1.03, allocations: 2.406 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/1.03, allocations: 4 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/1.031, allocations: 411.6 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.39e-05/1.031, allocations: 44.36 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/1.031, allocations: 9.719 kB / 1.098 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/1.031, allocations: 6.141 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/1.031, allocations: 35.7 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/1.031, allocations: 0.8438 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001959/1.031, allocations: 46.11 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/1.031, allocations: 81.61 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/1.032, allocations: 125.1 kB / 1.098 GB, free: 1.762 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/1.032, allocations: 26.33 kB / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/1.032, allocations: 108 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.217e-06/1.032, allocations: 5.375 kB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/1.032, allocations: 4 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.032, allocations: 321.4 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.034e-05/1.032, allocations: 9.75 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/1.032, allocations: 22.36 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.01e-05/1.032, allocations: 12.59 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.032, allocations: 0.625 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001364/1.032, allocations: 58.94 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.233e-05/1.032, allocations: 4 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.032, allocations: 0 / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.032, allocations: 0.75 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/1.032, allocations: 8.219 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/1.032, allocations: 0.5938 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/1.033, allocations: 11.78 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/1.033, allocations: 6.625 kB / 1.099 GB, free: 1.16 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 8.262e-05/1.033, allocations: 105.3 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/1.033, allocations: 16.02 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/1.033, allocations: 7.594 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/1.033, allocations: 4 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.033, allocations: 3.938 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.033, allocations: 1.125 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/1.033, allocations: 451.3 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.033, allocations: 0 / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/1.033, allocations: 8.062 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.033, allocations: 0 / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/1.033, allocations: 3.938 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.033, allocations: 4 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.033, allocations: 0 / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001267/1.034, allocations: 87.52 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002727/1.034, allocations: 468 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/1.034, allocations: 92.95 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/1.034, allocations: 1.062 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.64e-05/1.034, allocations: 0 / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/1.034, allocations: 15.92 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/1.034, allocations: 0 / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.38e-05/1.034, allocations: 100.5 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001054/1.035, allocations: 11.91 kB / 1.1 GB, free: 15.68 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.0001323/1.035, allocations: 99.23 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001038/1.036, allocations: 16 kB / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.036, allocations: 0 / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.634e-05/1.036, allocations: 16.06 kB / 1.1 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/1.036, allocations: 6.984 kB / 1.1 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/1.036, allocations: 110.8 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/1.037, allocations: 0.7075 MB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/1.037, allocations: 3.938 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)