Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.263/1.263, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 195.6 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.1 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007985/0.0007985, allocations: 90.27 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3783/0.3791, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.5579, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5245/1.083, allocations: 131.7 MB / 1.013 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/1.083, allocations: 65.77 kB / 1.013 GB, free: 6.809 MB / 0.6355 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.002772/1.086, allocations: 1.209 MB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/1.086, allocations: 8 kB / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/1.086, allocations: 11.91 kB / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/1.086, allocations: 174.9 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/1.086, allocations: 4 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/1.086, allocations: 6.688 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.56e-05/1.086, allocations: 44.52 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/1.086, allocations: 76.78 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/1.086, allocations: 7.922 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/1.086, allocations: 0 / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.086, allocations: 4 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/1.087, allocations: 415.7 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.295e-05/1.087, allocations: 36.03 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/1.087, allocations: 21.88 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/1.087, allocations: 0 / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/1.087, allocations: 41.16 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.087, allocations: 0.75 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001347/1.087, allocations: 37.33 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.087, allocations: 92.94 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/1.087, allocations: 129.4 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/1.087, allocations: 25.7 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/1.087, allocations: 105.9 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-06/1.087, allocations: 3.906 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/1.087, allocations: 0 / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/1.087, allocations: 322.1 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/1.087, allocations: 10.38 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/1.087, allocations: 20.64 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.121e-05/1.087, allocations: 11.25 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.087, allocations: 3.906 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.651e-05/1.087, allocations: 55.77 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/1.087, allocations: 7.984 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/1.087, allocations: 0 / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/1.087, allocations: 3.906 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/1.087, allocations: 8 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/1.087, allocations: 0 / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/1.087, allocations: 8 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/1.087, allocations: 4 kB / 1.016 GB, free: 3.965 MB / 0.6355 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.93e-05/1.087, allocations: 101 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/1.088, allocations: 7.906 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/1.088, allocations: 15.16 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.088, allocations: 4 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.088, allocations: 3.906 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.088, allocations: 0 / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/1.088, allocations: 452.4 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.088, allocations: 224 / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/1.088, allocations: 4.875 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.088, allocations: 3.938 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/1.088, allocations: 0 / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/1.088, allocations: 4 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.088, allocations: 0 / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.56e-05/1.088, allocations: 94.73 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001869/1.088, allocations: 467.1 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/1.088, allocations: 96.69 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/1.088, allocations: 0 / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/1.088, allocations: 0 / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/1.088, allocations: 4 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/1.088, allocations: 0 / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.237e-05/1.088, allocations: 101.6 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007916/1.089, allocations: 11.91 kB / 1.017 GB, free: 2.531 MB / 0.6355 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.0001292/1.089, allocations: 103.2 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.905e-05/1.09, allocations: 18.31 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.09, allocations: 0 / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/1.09, allocations: 7.25 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/1.09, allocations: 3.938 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/1.09, allocations: 114.2 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/1.09, allocations: 0.7155 MB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/1.09, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)