Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.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.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Density",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.236/1.236, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.0009789/0.0009788, allocations: 184.4 kB / 316 MB, free: 3.516 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.235/1.235, allocations: 205.1 MB / 0.5667 GB, free: 15.59 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.0009141/0.000914, allocations: 87.33 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3723/0.3732, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.5572, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.298/4.855, allocations: 2.198 GB / 3.083 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/4.855, allocations: 89.41 kB / 3.083 GB, free: 205.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 1.19/6.046, allocations: 471.2 MB / 3.543 GB, free: 72.39 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/6.046, allocations: 11.98 kB / 3.543 GB, free: 72.38 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/6.048, allocations: 286.7 kB / 3.544 GB, free: 72.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/6.049, allocations: 0.6303 MB / 3.544 GB, free: 71.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/6.049, allocations: 16 kB / 3.544 GB, free: 71.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/6.05, allocations: 39.91 kB / 3.544 GB, free: 71.37 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008269/6.05, allocations: 0.4906 MB / 3.545 GB, free: 70.88 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008604/6.051, allocations: 0.5596 MB / 3.545 GB, free: 70.31 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/6.051, allocations: 0 / 3.545 GB, free: 70.31 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/6.051, allocations: 4 kB / 3.545 GB, free: 70.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/6.051, allocations: 17.31 kB / 3.545 GB, free: 70.29 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/6.054, allocations: 2.479 MB / 3.548 GB, free: 67.63 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/6.055, allocations: 379.5 kB / 3.548 GB, free: 67.25 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/6.055, allocations: 246.3 kB / 3.548 GB, free: 67.01 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005432/6.056, allocations: 477.5 kB / 3.549 GB, free: 66.45 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/6.056, allocations: 38.5 kB / 3.549 GB, free: 66.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 2.304e-06/6.056, allocations: 0 / 3.549 GB, free: 66.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=41): time 0.001296/6.057, allocations: 482.8 kB / 3.549 GB, free: 65.93 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/6.057, allocations: 55.41 kB / 3.549 GB, free: 65.86 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000403/6.057, allocations: 365.3 kB / 3.55 GB, free: 65.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/6.057, allocations: 25.7 kB / 3.55 GB, free: 65.47 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/6.058, allocations: 248.3 kB / 3.55 GB, free: 65.22 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.874e-05/6.058, allocations: 145.9 kB / 3.55 GB, free: 65.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/6.058, allocations: 0 / 3.55 GB, free: 65.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/6.058, allocations: 366.7 kB / 3.55 GB, free: 64.71 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/6.058, allocations: 136.8 kB / 3.551 GB, free: 64.57 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/6.058, allocations: 264.2 kB / 3.551 GB, free: 64.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/6.059, allocations: 211.8 kB / 3.551 GB, free: 64.06 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/6.059, allocations: 0 / 3.551 GB, free: 64.06 MB / 0.8698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000707/6.059, allocations: 488.6 kB / 3.551 GB, free: 63.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/6.059, allocations: 0.8735 MB / 3.552 GB, free: 62.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/6.059, allocations: 0 / 3.552 GB, free: 62.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/6.059, allocations: 15.94 kB / 3.552 GB, free: 62.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/6.06, allocations: 111.8 kB / 3.552 GB, free: 62.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003229/6.06, allocations: 0.6055 MB / 3.553 GB, free: 61.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/6.061, allocations: 71.58 kB / 3.553 GB, free: 61.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/6.061, allocations: 16 kB / 3.553 GB, free: 61.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/6.061, allocations: 4 kB / 3.553 GB, free: 61.79 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006055/6.062, allocations: 391.6 kB / 3.554 GB, free: 61.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/6.062, allocations: 4 kB / 3.554 GB, free: 61.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/6.062, allocations: 4 kB / 3.554 GB, free: 61.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/6.062, allocations: 103.8 kB / 3.554 GB, free: 61.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/6.062, allocations: 4.281 kB / 3.554 GB, free: 61.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/6.063, allocations: 67.64 kB / 3.554 GB, free: 61.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/6.063, allocations: 23.98 kB / 3.554 GB, free: 61.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/6.063, allocations: 119 kB / 3.554 GB, free: 61.08 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/6.063, allocations: 51.34 kB / 3.554 GB, free: 61.03 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007308/6.064, allocations: 446.1 kB / 3.554 GB, free: 60.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/6.064, allocations: 4 kB / 3.554 GB, free: 60.58 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/6.064, allocations: 4 kB / 3.554 GB, free: 60.58 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005545/6.065, allocations: 0.6912 MB / 3.555 GB, free: 59.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/6.066, allocations: 1.202 MB / 3.556 GB, free: 58.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/6.066, allocations: 0 / 3.556 GB, free: 58.53 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/6.067, allocations: 115.9 kB / 3.556 GB, free: 58.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/6.067, allocations: 4 kB / 3.556 GB, free: 58.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/6.067, allocations: 12.27 kB / 3.556 GB, free: 58.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001781/6.067, allocations: 0.6015 MB / 3.557 GB, free: 57.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/6.067, allocations: 4.031 kB / 3.557 GB, free: 57.77 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008516/6.068, allocations: 0.8938 MB / 3.558 GB, free: 56.77 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001361/6.069, allocations: 1.576 MB / 3.559 GB, free: 55.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/6.07, allocations: 184.3 kB / 3.559 GB, free: 54.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.762e-05/6.07, allocations: 4 kB / 3.559 GB, free: 54.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/6.07, allocations: 47.86 kB / 3.56 GB, free: 54.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/6.07, allocations: 23.97 kB / 3.56 GB, free: 54.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/6.07, allocations: 19.98 kB / 3.56 GB, free: 54.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00027/6.071, allocations: 279 kB / 3.56 GB, free: 54.53 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002934/6.074, allocations: 0.7723 MB / 3.561 GB, free: 53.75 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001871/6.075, allocations: 1.555 MB / 3.562 GB, free: 52.14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001167/6.077, allocations: 0.6041 MB / 3.563 GB, free: 51.53 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/6.077, allocations: 4 kB / 3.563 GB, free: 51.53 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/6.077, allocations: 205.3 kB / 3.563 GB, free: 51.33 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/6.078, allocations: 314.1 kB / 3.563 GB, free: 51.03 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/6.081, allocations: 1.091 MB / 3.564 GB, free: 49.88 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/6.081, allocations: 1.042 MB / 3.565 GB, free: 48.81 MB / 0.8698 GB Notification: Performance of SimCode: time 4.6e-07/6.081, allocations: 0 / 3.565 GB, free: 48.81 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)