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_ton.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_ton,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.0008989/0.0008989, allocations: 181.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9894/0.9894, allocations: 205.1 MB / 0.6195 GB, free: 10.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.000735/0.000735, allocations: 91.09 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1852/0.186, allocations: 121.4 MB / 0.8512 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.5733, allocations: 115.3 MB / 0.9638 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.6989, allocations: 136.8 MB / 1.097 GB, free: 3.207 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001655/0.6991, allocations: 64.48 kB / 1.097 GB, free: 3.145 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.002592/0.7017, allocations: 1.203 MB / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.7018, allocations: 8 kB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.7018, allocations: 20 kB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.7019, allocations: 182.9 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.702, allocations: 0.9688 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.702, allocations: 4 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.073e-05/0.7021, allocations: 36.83 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.7022, allocations: 80 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.7022, allocations: 3.938 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.7022, allocations: 3.672 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.7022, allocations: 4 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.7027, allocations: 419.5 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.289e-05/0.7027, allocations: 36.55 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.7027, allocations: 18.62 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.7028, allocations: 0.6562 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.7028, allocations: 35.8 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7028, allocations: 0.6875 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001342/0.7029, allocations: 46.19 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.703, allocations: 85.77 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.7031, allocations: 123.6 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.7031, allocations: 25.7 kB / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.7031, allocations: 108.5 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-06/0.7032, allocations: 4.719 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.7032, allocations: 0 / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.7032, allocations: 325.9 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.7033, allocations: 5.312 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.7033, allocations: 17.72 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.7033, allocations: 9.625 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.7033, allocations: 4 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.522e-05/0.7034, allocations: 62.59 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.315e-06/0.7034, allocations: 4 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7034, allocations: 3.547 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.7035, allocations: 0 / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.7035, allocations: 12.88 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.7035, allocations: 0 / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.7036, allocations: 8.375 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.7036, allocations: 4 kB / 1.1 GB, free: 104 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 5.204e-05/0.7036, allocations: 102.3 kB / 1.1 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.7037, allocations: 7.906 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.7037, allocations: 12.45 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7037, allocations: 5.312 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.7037, allocations: 2.219 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.7037, allocations: 0 / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.704, allocations: 448.9 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.704, allocations: 0.5312 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.7041, allocations: 5.688 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7041, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.7041, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.7041, allocations: 5.562 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7041, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.739e-05/0.7042, allocations: 97.86 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001493/0.7043, allocations: 464.8 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.7044, allocations: 89 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.7044, allocations: 0 / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.7044, allocations: 0.9375 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.7044, allocations: 7.906 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.7045, allocations: 32 / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.649e-05/0.7045, allocations: 113.5 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007016/0.7052, allocations: 11.91 kB / 1.101 GB, free: 14.64 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 7.698e-05/0.7053, allocations: 103 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.707e-05/0.7054, allocations: 16 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.7054, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.7054, allocations: 4 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.755e-05/0.7055, allocations: 16.5 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.7057, allocations: 108.3 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.7059, allocations: 0.7191 MB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.7059, allocations: 0 / 1.102 GB, free: 13.62 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)