Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.384/1.384, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001021/0.001021, allocations: 173.3 kB / 366.3 MB, free: 1.969 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.05/1.05, allocations: 205.1 MB / 0.6256 GB, free: 7.457 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.000824/0.0008241, allocations: 89.64 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2026/0.2034, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5016/0.705, allocations: 116.3 MB / 0.9727 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.8552, allocations: 137.7 MB / 1.107 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.8554, allocations: 64.3 kB / 1.107 GB, free: 12.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.002835/0.8583, allocations: 1.206 MB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.8583, allocations: 8.531 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.8584, allocations: 11.81 kB / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.8585, allocations: 183.4 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.8586, allocations: 4.625 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.8586, allocations: 7.938 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001033/0.8587, allocations: 32.84 kB / 1.109 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.8588, allocations: 88.5 kB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.8588, allocations: 0 / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.8589, allocations: 0 / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.8589, allocations: 0 / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.8594, allocations: 415.2 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/0.8595, allocations: 39.19 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.8595, allocations: 17.61 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.8595, allocations: 2.875 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.8595, allocations: 40.5 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.8596, allocations: 0 / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001606/0.8597, allocations: 46.12 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.8598, allocations: 81.61 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.8599, allocations: 120.2 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.8599, allocations: 27.45 kB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.86, allocations: 112 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/0.86, allocations: 7.906 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.86, allocations: 0 / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.8601, allocations: 318 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.8601, allocations: 8.531 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.373e-05/0.8601, allocations: 26.66 kB / 1.11 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.8602, allocations: 9 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8602, allocations: 0 / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.995e-05/0.8603, allocations: 54.44 kB / 1.11 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.8603, allocations: 4.5 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8603, allocations: 4 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.8603, allocations: 0.625 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.8604, allocations: 10.44 kB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.8604, allocations: 0 / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.951e-05/0.8604, allocations: 12.47 kB / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.8605, allocations: 4.828 kB / 1.11 GB, free: 9.613 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 6.695e-05/0.8605, allocations: 105.7 kB / 1.11 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.8606, allocations: 7.906 kB / 1.11 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.8606, allocations: 13.23 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.8606, allocations: 0 / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8606, allocations: 0.5 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8606, allocations: 0.5625 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.861, allocations: 452.7 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.861, allocations: 8.188 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.861, allocations: 0 / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.8611, allocations: 4 kB / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.8611, allocations: 0 / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.8611, allocations: 3.812 kB / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8611, allocations: 0 / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.058e-05/0.8612, allocations: 96.83 kB / 1.111 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001652/0.8613, allocations: 472 kB / 1.111 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.8614, allocations: 81.02 kB / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.8614, allocations: 4 kB / 1.111 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.227e-05/0.8614, allocations: 4.062 kB / 1.111 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.8615, allocations: 3.906 kB / 1.111 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.8615, allocations: 0 / 1.111 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.65e-05/0.8615, allocations: 104 kB / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007744/0.8623, allocations: 11.91 kB / 1.111 GB, free: 8.145 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.0001062/0.8624, allocations: 99.25 kB / 1.111 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.636e-05/0.8625, allocations: 23.92 kB / 1.111 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.8625, allocations: 4.125 kB / 1.111 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.8625, allocations: 4 kB / 1.111 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.8626, allocations: 6.219 kB / 1.111 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.8629, allocations: 108.5 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.8631, allocations: 0.7152 MB / 1.112 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8632, allocations: 4.125 kB / 1.112 GB, free: 7.125 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)