Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.44/2.44, allocations: 248.6 MB / 255.9 MB, free: 7.191 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.001718/0.001718, allocations: 181.3 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.1 MB / 0.5658 GB, free: 276 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002413/0.002412, allocations: 87.33 kB / 0.67 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.509/0.5114, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.7297, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.927/6.657, allocations: 2.198 GB / 3.082 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/6.657, allocations: 86.77 kB / 3.082 GB, free: 170.2 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 2.18/8.837, allocations: 471.2 MB / 3.542 GB, free: 46.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/8.837, allocations: 8 kB / 3.542 GB, free: 46.79 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004783/8.842, allocations: 290.7 kB / 3.542 GB, free: 46.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/8.846, allocations: 0.6303 MB / 3.543 GB, free: 45.83 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/8.846, allocations: 24 kB / 3.543 GB, free: 45.81 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003102/8.846, allocations: 35.91 kB / 3.543 GB, free: 45.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002719/8.849, allocations: 498.5 kB / 3.543 GB, free: 45.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/8.851, allocations: 0.5557 MB / 3.544 GB, free: 44.71 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/8.851, allocations: 7.984 kB / 3.544 GB, free: 44.71 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.715e-05/8.851, allocations: 0 / 3.544 GB, free: 44.71 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/8.851, allocations: 21.25 kB / 3.544 GB, free: 44.68 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005013/8.856, allocations: 2.463 MB / 3.546 GB, free: 42.03 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009128/8.857, allocations: 380.1 kB / 3.547 GB, free: 41.65 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/8.858, allocations: 238.3 kB / 3.547 GB, free: 41.42 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009128/8.859, allocations: 477.5 kB / 3.547 GB, free: 40.86 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/8.859, allocations: 42.25 kB / 3.547 GB, free: 40.81 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 3.055e-06/8.859, allocations: 4 kB / 3.547 GB, free: 40.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=41): time 0.002158/8.861, allocations: 481 kB / 3.548 GB, free: 40.33 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/8.861, allocations: 59.39 kB / 3.548 GB, free: 40.26 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/8.862, allocations: 357.4 kB / 3.548 GB, free: 39.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/8.862, allocations: 25.7 kB / 3.548 GB, free: 39.87 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/8.862, allocations: 256.3 kB / 3.549 GB, free: 39.61 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/8.862, allocations: 138 kB / 3.549 GB, free: 39.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/8.862, allocations: 0 / 3.549 GB, free: 39.48 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001109/8.862, allocations: 362.7 kB / 3.549 GB, free: 39.11 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/8.862, allocations: 140.8 kB / 3.549 GB, free: 38.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/8.863, allocations: 264.2 kB / 3.549 GB, free: 38.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006255/8.864, allocations: 215.8 kB / 3.55 GB, free: 38.46 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/8.864, allocations: 0 / 3.55 GB, free: 38.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001275/8.865, allocations: 476.6 kB / 3.55 GB, free: 37.99 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00019/8.865, allocations: 0.8735 MB / 3.551 GB, free: 37.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/8.865, allocations: 4 kB / 3.551 GB, free: 37.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/8.865, allocations: 4 kB / 3.551 GB, free: 37.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/8.866, allocations: 111.9 kB / 3.551 GB, free: 36.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004562/8.867, allocations: 0.6093 MB / 3.552 GB, free: 36.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/8.868, allocations: 75.58 kB / 3.552 GB, free: 36.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/8.868, allocations: 16 kB / 3.552 GB, free: 36.21 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/8.868, allocations: 4 kB / 3.552 GB, free: 36.21 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/8.869, allocations: 395.5 kB / 3.552 GB, free: 35.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/8.869, allocations: 4 kB / 3.552 GB, free: 35.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/8.869, allocations: 4 kB / 3.552 GB, free: 35.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/8.87, allocations: 104.2 kB / 3.552 GB, free: 35.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/8.87, allocations: 11.92 kB / 3.552 GB, free: 35.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/8.871, allocations: 59.7 kB / 3.552 GB, free: 35.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/8.872, allocations: 24 kB / 3.552 GB, free: 35.62 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.0001861/8.872, allocations: 116.8 kB / 3.552 GB, free: 35.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/8.872, allocations: 55.34 kB / 3.552 GB, free: 35.44 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/8.873, allocations: 458 kB / 3.553 GB, free: 34.98 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/8.873, allocations: 4 kB / 3.553 GB, free: 34.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/8.873, allocations: 3.938 kB / 3.553 GB, free: 34.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/8.874, allocations: 0.6796 MB / 3.554 GB, free: 34.21 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/8.877, allocations: 1.202 MB / 3.555 GB, free: 32.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/8.877, allocations: 0 / 3.555 GB, free: 32.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/8.878, allocations: 120.1 kB / 3.555 GB, free: 32.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/8.878, allocations: 4 kB / 3.555 GB, free: 32.82 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/8.879, allocations: 4 kB / 3.555 GB, free: 32.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003045/8.879, allocations: 0.5977 MB / 3.555 GB, free: 32.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/8.879, allocations: 7.938 kB / 3.555 GB, free: 32.18 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001681/8.881, allocations: 0.8976 MB / 3.556 GB, free: 31.18 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002625/8.883, allocations: 1.573 MB / 3.558 GB, free: 29.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/8.884, allocations: 188.3 kB / 3.558 GB, free: 29.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/8.884, allocations: 4 kB / 3.558 GB, free: 29.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/8.885, allocations: 43.86 kB / 3.558 GB, free: 29.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/8.885, allocations: 28.09 kB / 3.558 GB, free: 29.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/8.885, allocations: 23.98 kB / 3.558 GB, free: 29.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004802/8.886, allocations: 286.9 kB / 3.558 GB, free: 28.93 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004635/8.89, allocations: 0.7645 MB / 3.559 GB, free: 28.16 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.002555/8.893, allocations: 1.556 MB / 3.561 GB, free: 26.55 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002139/8.895, allocations: 0.5927 MB / 3.561 GB, free: 25.96 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/8.895, allocations: 1.125 kB / 3.561 GB, free: 25.96 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000824/8.896, allocations: 208.3 kB / 3.561 GB, free: 25.75 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/8.899, allocations: 309.9 kB / 3.562 GB, free: 25.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/8.903, allocations: 1.103 MB / 3.563 GB, free: 24.29 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00091/8.904, allocations: 1.03 MB / 3.564 GB, free: 23.24 MB / 0.8698 GB Notification: Performance of SimCode: time 1.382e-06/8.904, allocations: 0 / 3.564 GB, free: 23.24 MB / 0.8698 GB