Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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 3.958/3.958, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5716/4.529, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/4.775, allocations: 98.73 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9205/5.696, allocations: 383.5 MB / 1.003 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/5.696, allocations: 86.64 kB / 1.003 GB, free: 4.441 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 1.198/6.894, allocations: 233.1 MB / 1.231 GB, free: 168.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/6.894, allocations: 7.719 kB / 1.231 GB, free: 168.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000457/6.895, allocations: 89.91 kB / 1.231 GB, free: 168.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04243/6.937, allocations: 11.71 MB / 1.242 GB, free: 161 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/6.937, allocations: 14 kB / 1.242 GB, free: 161 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/6.937, allocations: 26.69 kB / 1.242 GB, free: 161 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008716/6.938, allocations: 265.2 kB / 1.242 GB, free: 160.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009874/6.939, allocations: 413.1 kB / 1.243 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/6.939, allocations: 1.156 kB / 1.243 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/6.939, allocations: 1.094 kB / 1.243 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/6.94, allocations: 21.09 kB / 1.243 GB, free: 160.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004282/6.944, allocations: 2.636 MB / 1.245 GB, free: 158.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/6.944, allocations: 128 kB / 1.246 GB, free: 158.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/6.944, allocations: 90.59 kB / 1.246 GB, free: 158.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004488/6.945, allocations: 343.7 kB / 1.246 GB, free: 157.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/6.945, allocations: 42.81 kB / 1.246 GB, free: 157.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=21): time 3.507e-06/6.945, allocations: 0 / 1.246 GB, free: 157.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=21): time 0.0009097/6.946, allocations: 231 kB / 1.246 GB, free: 157.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/6.946, allocations: 53.62 kB / 1.246 GB, free: 157.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/6.947, allocations: 439.1 kB / 1.247 GB, free: 157.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/6.947, allocations: 25.7 kB / 1.247 GB, free: 157.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/6.947, allocations: 268.1 kB / 1.247 GB, free: 157 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/6.947, allocations: 81.91 kB / 1.247 GB, free: 156.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/6.947, allocations: 0 / 1.247 GB, free: 156.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000132/6.947, allocations: 358.4 kB / 1.247 GB, free: 156.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/6.948, allocations: 78.95 kB / 1.247 GB, free: 156.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/6.948, allocations: 225 kB / 1.248 GB, free: 156.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/6.949, allocations: 120.4 kB / 1.248 GB, free: 156.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/6.949, allocations: 1 kB / 1.248 GB, free: 156.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001074/6.95, allocations: 347.6 kB / 1.248 GB, free: 156 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003774/6.95, allocations: 1.655 MB / 1.25 GB, free: 154.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/6.95, allocations: 4.562 kB / 1.25 GB, free: 154.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/6.95, allocations: 6.375 kB / 1.25 GB, free: 154.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/6.951, allocations: 80.52 kB / 1.25 GB, free: 154.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/6.951, allocations: 6.906 kB / 1.25 GB, free: 154.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009151/6.952, allocations: 53.38 kB / 1.25 GB, free: 154.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/6.952, allocations: 19.09 kB / 1.25 GB, free: 154.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/6.952, allocations: 3.875 kB / 1.25 GB, free: 154.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008131/6.953, allocations: 268.1 kB / 1.25 GB, free: 154.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/6.953, allocations: 4.031 kB / 1.25 GB, free: 154.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/6.953, allocations: 6.5 kB / 1.25 GB, free: 154.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/6.953, allocations: 72.75 kB / 1.25 GB, free: 154.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/6.953, allocations: 14.7 kB / 1.25 GB, free: 154.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/6.954, allocations: 42.2 kB / 1.25 GB, free: 154.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/6.954, allocations: 23.55 kB / 1.25 GB, free: 154 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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 0.0001502/6.954, allocations: 116.3 kB / 1.25 GB, free: 153.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/6.954, allocations: 57.59 kB / 1.25 GB, free: 153.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009326/6.955, allocations: 268.7 kB / 1.251 GB, free: 153.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/6.955, allocations: 6.234 kB / 1.251 GB, free: 153.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/6.955, allocations: 0 / 1.251 GB, free: 153.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005572/6.956, allocations: 361.3 kB / 1.251 GB, free: 153.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/6.958, allocations: 0.9262 MB / 1.252 GB, free: 152.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/6.958, allocations: 1.312 kB / 1.252 GB, free: 152.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/6.959, allocations: 51.5 kB / 1.252 GB, free: 152.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/6.959, allocations: 7.938 kB / 1.252 GB, free: 152.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/6.959, allocations: 4.156 kB / 1.252 GB, free: 152.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/6.959, allocations: 6.734 kB / 1.252 GB, free: 152.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/6.959, allocations: 2.625 kB / 1.252 GB, free: 152.6 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001006/6.96, allocations: 0.5762 MB / 1.253 GB, free: 152.1 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001344/6.961, allocations: 1.054 MB / 1.254 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/6.962, allocations: 164.8 kB / 1.254 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/6.962, allocations: 3.812 kB / 1.254 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006271/6.962, allocations: 29.91 kB / 1.254 GB, free: 151 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/6.962, allocations: 19.36 kB / 1.254 GB, free: 151 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/6.962, allocations: 8.562 kB / 1.254 GB, free: 151 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006663/6.963, allocations: 331.5 kB / 1.254 GB, free: 150.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003837/6.967, allocations: 444.3 kB / 1.255 GB, free: 150.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001199/6.968, allocations: 415.4 kB / 1.255 GB, free: 150.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001186/6.969, allocations: 381.5 kB / 1.255 GB, free: 150.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/6.969, allocations: 0.9688 kB / 1.255 GB, free: 150.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/6.97, allocations: 91.56 kB / 1.255 GB, free: 150.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/6.973, allocations: 313.2 kB / 1.256 GB, free: 150.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/6.975, allocations: 0.8 MB / 1.257 GB, free: 149.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008126/6.976, allocations: 0.9715 MB / 1.257 GB, free: 148.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.663e-06/6.976, allocations: 4 kB / 1.257 GB, free: 148.8 MB / 0.823 GB