Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",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.119/4.119, allocations: 433 MB / 440.3 MB, free: 4.844 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5434/4.663, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/4.889, allocations: 98.72 MB / 0.6283 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.585/10.47, allocations: 2.195 GB / 2.824 GB, free: 150.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/10.47, allocations: 95.5 kB / 2.824 GB, free: 150.4 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 2.983/13.46, allocations: 0.5843 GB / 3.408 GB, free: 176.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/13.46, allocations: 10.53 kB / 3.408 GB, free: 176.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006383/13.46, allocations: 401.7 kB / 3.408 GB, free: 176.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/13.47, allocations: 0.9223 MB / 3.409 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/13.47, allocations: 15.66 kB / 3.409 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/13.47, allocations: 36.16 kB / 3.409 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001647/13.47, allocations: 0.5359 MB / 3.41 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/13.47, allocations: 0.5838 MB / 3.41 GB, free: 175.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/13.47, allocations: 3.906 kB / 3.411 GB, free: 175.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.293e-05/13.47, allocations: 0 / 3.411 GB, free: 175.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/13.47, allocations: 10.41 kB / 3.411 GB, free: 175.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007906/13.48, allocations: 2.446 MB / 3.413 GB, free: 175 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/13.48, allocations: 0.5109 MB / 3.413 GB, free: 174.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/13.48, allocations: 309.4 kB / 3.414 GB, free: 174.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006214/13.48, allocations: 299.2 kB / 3.414 GB, free: 174.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/13.48, allocations: 38.5 kB / 3.414 GB, free: 174.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=43): time 3.757e-06/13.48, allocations: 3.75 kB / 3.414 GB, free: 174.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=43): time 0.002798/13.48, allocations: 0.6839 MB / 3.415 GB, free: 174.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/13.48, allocations: 135.5 kB / 3.415 GB, free: 174.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/13.49, allocations: 0.7696 MB / 3.416 GB, free: 174.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000268/13.49, allocations: 25.7 kB / 3.416 GB, free: 174.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/13.49, allocations: 262.8 kB / 3.416 GB, free: 174.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/13.49, allocations: 139.7 kB / 3.416 GB, free: 174 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/13.49, allocations: 0 / 3.416 GB, free: 174 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/13.49, allocations: 333.2 kB / 3.416 GB, free: 173.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007651/13.49, allocations: 256.3 kB / 3.417 GB, free: 173.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/13.49, allocations: 432.1 kB / 3.417 GB, free: 173.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/13.49, allocations: 314.5 kB / 3.417 GB, free: 173.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/13.49, allocations: 0 / 3.417 GB, free: 173.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002736/13.49, allocations: 0.7275 MB / 3.418 GB, free: 173.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.176e-05/13.49, allocations: 94.62 kB / 3.418 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/13.49, allocations: 3.984 kB / 3.418 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/13.49, allocations: 3.469 kB / 3.418 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/13.5, allocations: 138.7 kB / 3.418 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/13.5, allocations: 7.25 kB / 3.418 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/13.5, allocations: 83.02 kB / 3.418 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/13.5, allocations: 34.89 kB / 3.418 GB, free: 173.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/13.5, allocations: 7.781 kB / 3.418 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001919/13.5, allocations: 0.5947 MB / 3.419 GB, free: 173.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/13.5, allocations: 6.969 kB / 3.419 GB, free: 173.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/13.5, allocations: 0 / 3.419 GB, free: 173.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/13.5, allocations: 137.2 kB / 3.419 GB, free: 173.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/13.5, allocations: 1.906 kB / 3.419 GB, free: 173.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/13.5, allocations: 88.81 kB / 3.419 GB, free: 173.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/13.5, allocations: 34 kB / 3.419 GB, free: 173.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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): 51 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0002859/13.5, allocations: 116.1 kB / 3.419 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/13.5, allocations: 91.38 kB / 3.419 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/13.51, allocations: 0.7417 MB / 3.42 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/13.51, allocations: 6.938 kB / 3.42 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/13.51, allocations: 3.5 kB / 3.42 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/13.51, allocations: 3.891 kB / 3.42 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/13.51, allocations: 1.68 MB / 3.422 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/13.51, allocations: 2.344 kB / 3.422 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/13.51, allocations: 119.2 kB / 3.422 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/13.51, allocations: 5.031 kB / 3.422 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.337e-05/13.51, allocations: 5.531 kB / 3.422 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/13.51, allocations: 12.28 kB / 3.422 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/13.51, allocations: 2.188 kB / 3.422 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003015/13.52, allocations: 1.222 MB / 3.423 GB, free: 171.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004497/13.52, allocations: 2.048 MB / 3.425 GB, free: 170 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009764/13.52, allocations: 258 kB / 3.425 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/13.52, allocations: 10.75 kB / 3.425 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/13.52, allocations: 62.78 kB / 3.425 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/13.52, allocations: 43.02 kB / 3.425 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-05/13.53, allocations: 31.5 kB / 3.425 GB, free: 169.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001611/13.53, allocations: 0.5912 MB / 3.426 GB, free: 169.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005969/13.53, allocations: 0.9284 MB / 3.427 GB, free: 168.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003939/13.54, allocations: 1.883 MB / 3.429 GB, free: 168.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003112/13.54, allocations: 0.969 MB / 3.43 GB, free: 168 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/13.54, allocations: 5.344 kB / 3.43 GB, free: 168 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/13.54, allocations: 285.6 kB / 3.43 GB, free: 167.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/13.55, allocations: 378.1 kB / 3.43 GB, free: 167.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005847/13.55, allocations: 1.28 MB / 3.432 GB, free: 167.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/13.55, allocations: 1.161 MB / 3.433 GB, free: 166.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.954e-06/13.55, allocations: 0 / 3.433 GB, free: 166.5 MB / 0.823 GB