Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.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.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.427/2.427, allocations: 284.8 MB / 292.1 MB, free: 9.84 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.001605/0.001605, allocations: 182.5 kB / 360.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.1 MB / 0.6187 GB, free: 3.25 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 87.33 kB / 0.7317 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.611/0.6123, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.8322, allocations: 115.2 MB / 0.9628 GB, free: 56.95 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.266/6.099, allocations: 2.079 GB / 3.042 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003774/6.099, allocations: 85.12 kB / 3.042 GB, free: 208.5 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 2.157/8.256, allocations: 484 MB / 3.515 GB, free: 82.59 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/8.257, allocations: 8 kB / 3.515 GB, free: 82.59 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/8.26, allocations: 294.6 kB / 3.515 GB, free: 82.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/8.263, allocations: 0.6303 MB / 3.516 GB, free: 81.62 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/8.263, allocations: 16 kB / 3.516 GB, free: 81.61 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/8.263, allocations: 36 kB / 3.516 GB, free: 81.57 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00148/8.264, allocations: 0.4945 MB / 3.516 GB, free: 81.08 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/8.267, allocations: 0.5518 MB / 3.517 GB, free: 80.52 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/8.267, allocations: 4 kB / 3.517 GB, free: 80.51 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/8.267, allocations: 0 / 3.517 GB, free: 80.51 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/8.267, allocations: 17.31 kB / 3.517 GB, free: 80.49 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00699/8.274, allocations: 2.455 MB / 3.519 GB, free: 77.85 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000867/8.275, allocations: 396.8 kB / 3.519 GB, free: 77.45 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/8.275, allocations: 230.3 kB / 3.52 GB, free: 77.22 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009054/8.276, allocations: 477.5 kB / 3.52 GB, free: 76.66 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/8.276, allocations: 42.33 kB / 3.52 GB, free: 76.61 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=41): time 2.896e-06/8.276, allocations: 3.938 kB / 3.52 GB, free: 76.61 MB / 0.9323 GB Notification: Performance of matching and sorting (n=41): time 0.00219/8.279, allocations: 489.1 kB / 3.521 GB, free: 76.12 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/8.279, allocations: 59.34 kB / 3.521 GB, free: 76.05 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/8.28, allocations: 361.3 kB / 3.521 GB, free: 75.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/8.28, allocations: 29.7 kB / 3.521 GB, free: 75.66 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/8.28, allocations: 248.4 kB / 3.521 GB, free: 75.41 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/8.28, allocations: 141.9 kB / 3.521 GB, free: 75.27 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/8.28, allocations: 0 / 3.521 GB, free: 75.27 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001148/8.28, allocations: 362.8 kB / 3.522 GB, free: 74.91 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/8.281, allocations: 144.8 kB / 3.522 GB, free: 74.77 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/8.281, allocations: 273.1 kB / 3.522 GB, free: 74.45 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/8.282, allocations: 212.5 kB / 3.522 GB, free: 74.25 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/8.282, allocations: 0 / 3.522 GB, free: 74.25 MB / 0.9323 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001365/8.283, allocations: 484.6 kB / 3.523 GB, free: 73.77 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002292/8.284, allocations: 0.8774 MB / 3.524 GB, free: 72.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/8.284, allocations: 0 / 3.524 GB, free: 72.82 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/8.284, allocations: 4 kB / 3.524 GB, free: 72.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/8.285, allocations: 119.8 kB / 3.524 GB, free: 72.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004881/8.285, allocations: 0.5938 MB / 3.524 GB, free: 72.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/8.287, allocations: 63.73 kB / 3.524 GB, free: 72.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/8.287, allocations: 27.92 kB / 3.524 GB, free: 71.99 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/8.287, allocations: 8 kB / 3.524 GB, free: 71.98 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001214/8.289, allocations: 399.5 kB / 3.525 GB, free: 71.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/8.289, allocations: 11.89 kB / 3.525 GB, free: 71.58 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/8.289, allocations: 4 kB / 3.525 GB, free: 71.58 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/8.29, allocations: 108.1 kB / 3.525 GB, free: 71.47 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/8.29, allocations: 4 kB / 3.525 GB, free: 71.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/8.291, allocations: 63.64 kB / 3.525 GB, free: 71.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/8.291, allocations: 20 kB / 3.525 GB, free: 71.39 MB / 0.9323 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.0001864/8.291, allocations: 112.9 kB / 3.525 GB, free: 71.27 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/8.291, allocations: 51.34 kB / 3.525 GB, free: 71.22 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/8.293, allocations: 470.1 kB / 3.526 GB, free: 70.75 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/8.293, allocations: 4 kB / 3.526 GB, free: 70.75 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/8.293, allocations: 0 / 3.526 GB, free: 70.75 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/8.294, allocations: 0.683 MB / 3.526 GB, free: 69.98 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/8.297, allocations: 1.207 MB / 3.527 GB, free: 68.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/8.297, allocations: 0 / 3.527 GB, free: 68.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/8.298, allocations: 116.1 kB / 3.528 GB, free: 68.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/8.298, allocations: 8 kB / 3.528 GB, free: 68.58 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/8.298, allocations: 4 kB / 3.528 GB, free: 68.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002968/8.298, allocations: 0.5977 MB / 3.528 GB, free: 67.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/8.298, allocations: 4 kB / 3.528 GB, free: 67.95 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001698/8.3, allocations: 0.9058 MB / 3.529 GB, free: 66.94 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002516/8.303, allocations: 1.577 MB / 3.531 GB, free: 65.26 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/8.303, allocations: 180.3 kB / 3.531 GB, free: 65.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/8.303, allocations: 7.984 kB / 3.531 GB, free: 65.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/8.304, allocations: 43.86 kB / 3.531 GB, free: 65.02 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/8.304, allocations: 27.95 kB / 3.531 GB, free: 64.99 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/8.304, allocations: 16 kB / 3.531 GB, free: 64.97 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0004458/8.305, allocations: 286.9 kB / 3.531 GB, free: 64.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004694/8.31, allocations: 0.7645 MB / 3.532 GB, free: 63.93 MB / 0.9323 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.002679/8.312, allocations: 1.562 MB / 3.533 GB, free: 62.32 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002082/8.314, allocations: 0.6042 MB / 3.534 GB, free: 61.71 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/8.315, allocations: 0 / 3.534 GB, free: 61.71 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000608/8.315, allocations: 205.1 kB / 3.534 GB, free: 61.52 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/8.318, allocations: 317.1 kB / 3.535 GB, free: 61.21 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/8.323, allocations: 1.095 MB / 3.536 GB, free: 60.05 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009127/8.324, allocations: 1.026 MB / 3.537 GB, free: 59 MB / 0.9323 GB Notification: Performance of SimCode: time 1.433e-06/8.324, allocations: 3.938 kB / 3.537 GB, free: 58.99 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)