Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.244/4.244, allocations: 433 MB / 440.3 MB, free: 4.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5592/4.804, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/5.061, allocations: 98.73 MB / 0.6283 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.589/10.65, allocations: 2.193 GB / 2.822 GB, free: 153.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/10.65, allocations: 92.34 kB / 2.822 GB, free: 153.5 MB / 0.823 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.296/12.95, allocations: 471.2 MB / 3.282 GB, free: 16.45 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/12.95, allocations: 8 kB / 3.282 GB, free: 16.45 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005307/12.95, allocations: 294.7 kB / 3.282 GB, free: 16.16 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/12.95, allocations: 0.6264 MB / 3.283 GB, free: 15.49 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/12.95, allocations: 27.91 kB / 3.283 GB, free: 15.46 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/12.96, allocations: 35.98 kB / 3.283 GB, free: 15.43 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002305/12.96, allocations: 0.4984 MB / 3.283 GB, free: 14.93 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/12.96, allocations: 0.5556 MB / 3.284 GB, free: 14.36 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/12.96, allocations: 11.92 kB / 3.284 GB, free: 14.35 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/12.96, allocations: 0 / 3.284 GB, free: 14.35 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/12.96, allocations: 21.31 kB / 3.284 GB, free: 14.33 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007327/12.97, allocations: 2.443 MB / 3.286 GB, free: 11.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/12.97, allocations: 414.3 kB / 3.287 GB, free: 11.29 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007226/12.97, allocations: 232.8 kB / 3.287 GB, free: 11.06 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/12.97, allocations: 469.5 kB / 3.287 GB, free: 10.51 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/12.97, allocations: 46.55 kB / 3.287 GB, free: 10.46 MB / 0.823 GB Notification: Performance of pre-optimization done (n=41): time 5.139e-06/12.97, allocations: 0 / 3.287 GB, free: 10.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=41): time 0.003552/12.97, allocations: 482 kB / 3.288 GB, free: 9.98 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/12.97, allocations: 59.19 kB / 3.288 GB, free: 9.91 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009357/12.98, allocations: 361.3 kB / 3.288 GB, free: 9.551 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-05/12.98, allocations: 25.7 kB / 3.288 GB, free: 9.52 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/12.98, allocations: 264.2 kB / 3.288 GB, free: 9.258 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/12.98, allocations: 141.9 kB / 3.289 GB, free: 9.117 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/12.98, allocations: 0 / 3.289 GB, free: 9.117 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001551/12.98, allocations: 366.7 kB / 3.289 GB, free: 8.75 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/12.98, allocations: 140.8 kB / 3.289 GB, free: 8.613 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/12.98, allocations: 260.3 kB / 3.289 GB, free: 8.312 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000909/12.98, allocations: 203.8 kB / 3.29 GB, free: 8.113 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/12.98, allocations: 0 / 3.29 GB, free: 8.113 MB / 0.823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001893/12.98, allocations: 480.6 kB / 3.29 GB, free: 7.637 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002484/12.98, allocations: 0.8732 MB / 3.291 GB, free: 6.695 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/12.98, allocations: 7.906 kB / 3.291 GB, free: 6.688 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/12.98, allocations: 8 kB / 3.291 GB, free: 6.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/12.98, allocations: 115.8 kB / 3.291 GB, free: 6.566 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006118/12.98, allocations: 0.5978 MB / 3.292 GB, free: 5.945 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/12.98, allocations: 75.58 kB / 3.292 GB, free: 5.871 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/12.99, allocations: 23.98 kB / 3.292 GB, free: 5.848 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/12.99, allocations: 4 kB / 3.292 GB, free: 5.844 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001654/12.99, allocations: 395.9 kB / 3.292 GB, free: 5.457 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/12.99, allocations: 4 kB / 3.292 GB, free: 5.453 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/12.99, allocations: 4 kB / 3.292 GB, free: 5.449 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/12.99, allocations: 108.1 kB / 3.292 GB, free: 5.344 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/12.99, allocations: 4 kB / 3.292 GB, free: 5.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/12.99, allocations: 63.64 kB / 3.292 GB, free: 5.277 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.736e-05/12.99, allocations: 23.89 kB / 3.292 GB, free: 5.254 MB / 0.823 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.0002824/12.99, allocations: 112.9 kB / 3.292 GB, free: 5.137 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/12.99, allocations: 63.33 kB / 3.292 GB, free: 5.074 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/12.99, allocations: 446.2 kB / 3.293 GB, free: 4.629 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/12.99, allocations: 4 kB / 3.293 GB, free: 4.625 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/12.99, allocations: 4 kB / 3.293 GB, free: 4.621 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001538/12.99, allocations: 0.6834 MB / 3.294 GB, free: 3.852 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/13, allocations: 1.204 MB / 3.295 GB, free: 2.574 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.669e-06/13, allocations: 0 / 3.295 GB, free: 2.574 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/13, allocations: 116.2 kB / 3.295 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/13, allocations: 4 kB / 3.295 GB, free: 2.457 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/13, allocations: 7.984 kB / 3.295 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003025/13, allocations: 0.5976 MB / 3.295 GB, free: 1.828 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/13, allocations: 4.031 kB / 3.295 GB, free: 1.824 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001648/13, allocations: 0.9055 MB / 3.296 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3698/13.37, allocations: 1.58 MB / 3.298 GB, free: 254.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006183/13.37, allocations: 178.5 kB / 3.298 GB, free: 254.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/13.37, allocations: 9.969 kB / 3.298 GB, free: 254.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/13.37, allocations: 48.14 kB / 3.298 GB, free: 254.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/13.37, allocations: 25.75 kB / 3.298 GB, free: 254.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/13.37, allocations: 17.78 kB / 3.298 GB, free: 254.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004904/13.37, allocations: 283 kB / 3.298 GB, free: 254.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004457/13.38, allocations: 0.7612 MB / 3.299 GB, free: 254.2 MB / 0.823 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.002753/13.38, allocations: 1.556 MB / 3.301 GB, free: 253.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002133/13.38, allocations: 0.6015 MB / 3.301 GB, free: 253.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/13.38, allocations: 0 / 3.301 GB, free: 253.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006112/13.38, allocations: 203.1 kB / 3.301 GB, free: 253.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/13.39, allocations: 305.1 kB / 3.302 GB, free: 253.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/13.39, allocations: 1.099 MB / 3.303 GB, free: 253.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009314/13.39, allocations: 1.026 MB / 3.304 GB, free: 252.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.433e-06/13.39, allocations: 0 / 3.304 GB, free: 252.8 MB / 0.823 GB