Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.134/2.134, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001516/0.001516, allocations: 181.3 kB / 360.3 MB, free: 7.543 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.652/1.652, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001231/0.00123, allocations: 96.77 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2443/0.2456, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.8059, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/1.01, allocations: 136.6 MB / 1.096 GB, free: 4.168 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/1.01, allocations: 64.53 kB / 1.096 GB, free: 4.105 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.00421/1.014, allocations: 1.201 MB / 1.097 GB, free: 2.891 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.014, allocations: 9.031 kB / 1.097 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/1.014, allocations: 13.06 kB / 1.097 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/1.015, allocations: 188 kB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/1.015, allocations: 4 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/1.015, allocations: 4 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001382/1.015, allocations: 30.78 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/1.015, allocations: 87.88 kB / 1.098 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/1.015, allocations: 0 / 1.098 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/1.015, allocations: 0 / 1.098 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.015, allocations: 3.984 kB / 1.098 GB, free: 2.512 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/1.016, allocations: 417.2 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/1.016, allocations: 39.52 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/1.016, allocations: 21.67 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/1.016, allocations: 0 / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/1.016, allocations: 32.56 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/1.016, allocations: 1.969 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001996/1.016, allocations: 54.53 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/1.016, allocations: 77.83 kB / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/1.016, allocations: 126.2 kB / 1.098 GB, free: 1.668 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/1.016, allocations: 25.7 kB / 1.098 GB, free: 1.637 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/1.017, allocations: 112.5 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-06/1.017, allocations: 4.406 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/1.017, allocations: 1.469 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.017, allocations: 321.4 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.934e-05/1.017, allocations: 4 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/1.017, allocations: 22.81 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.726e-05/1.017, allocations: 9.688 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.017, allocations: 0 / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001359/1.017, allocations: 61.53 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.017, allocations: 4.531 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.017, allocations: 4.594 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/1.017, allocations: 224 / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/1.017, allocations: 4.844 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/1.017, allocations: 3.938 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/1.017, allocations: 12.41 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/1.017, allocations: 0.5 kB / 1.099 GB, free: 1.066 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.884e-05/1.017, allocations: 106.6 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/1.017, allocations: 13.02 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/1.017, allocations: 12.31 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.017, allocations: 0 / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.017, allocations: 0.5 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.018, allocations: 0 / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/1.018, allocations: 453.9 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.018, allocations: 4 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/1.018, allocations: 0 / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/1.018, allocations: 4 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/1.018, allocations: 0 / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.018, allocations: 0 / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.018, allocations: 0.6562 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001509/1.018, allocations: 99.52 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002744/1.019, allocations: 472 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/1.019, allocations: 81.02 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/1.019, allocations: 5.75 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-05/1.019, allocations: 0 / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/1.019, allocations: 7.891 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/1.019, allocations: 3.75 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.522e-05/1.019, allocations: 103.3 kB / 1.1 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001048/1.02, allocations: 15.84 kB / 1.1 GB, free: 15.59 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.0001287/1.02, allocations: 103.3 kB / 1.1 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.7e-05/1.02, allocations: 16 kB / 1.1 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.02, allocations: 0 / 1.1 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.554e-05/1.02, allocations: 4 kB / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/1.02, allocations: 9.203 kB / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/1.021, allocations: 109.3 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/1.021, allocations: 0.7159 MB / 1.101 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of SimCode: time 7.32e-07/1.021, allocations: 0 / 1.101 GB, free: 14.58 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)