Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",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.246/4.246, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6077/4.854, allocations: 104.3 MB / 0.5319 GB, free: 12.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/5.081, allocations: 98.73 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/6.151, allocations: 409.4 MB / 1.028 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003886/6.151, allocations: 97.7 kB / 1.028 GB, free: 11.24 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 3.147/9.299, allocations: 0.6449 GB / 1.673 GB, free: 32.25 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/9.299, allocations: 12 kB / 1.673 GB, free: 32.24 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/9.3, allocations: 205.6 kB / 1.673 GB, free: 32.04 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005721/9.306, allocations: 1.611 MB / 1.675 GB, free: 30.41 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.043e-05/9.306, allocations: 32 kB / 1.675 GB, free: 30.38 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/9.306, allocations: 68 kB / 1.675 GB, free: 30.31 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00232/9.309, allocations: 0.6444 MB / 1.676 GB, free: 29.66 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/9.311, allocations: 0.8622 MB / 1.677 GB, free: 28.77 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/9.311, allocations: 4 kB / 1.677 GB, free: 28.76 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/9.311, allocations: 4 kB / 1.677 GB, free: 28.76 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-05/9.311, allocations: 27.91 kB / 1.677 GB, free: 28.73 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/9.323, allocations: 5.768 MB / 1.682 GB, free: 22.58 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006567/9.324, allocations: 248 kB / 1.682 GB, free: 22.33 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/9.324, allocations: 184.6 kB / 1.683 GB, free: 22.15 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/9.325, allocations: 182.3 kB / 1.683 GB, free: 21.94 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/9.325, allocations: 46.55 kB / 1.683 GB, free: 21.88 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 4.588e-06/9.325, allocations: 0 / 1.683 GB, free: 21.88 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.002093/9.327, allocations: 444.4 kB / 1.683 GB, free: 21.44 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/9.327, allocations: 55.41 kB / 1.683 GB, free: 21.38 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/9.33, allocations: 1.037 MB / 1.684 GB, free: 20.33 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002467/9.331, allocations: 25.7 kB / 1.684 GB, free: 20.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/9.331, allocations: 0.527 MB / 1.685 GB, free: 19.77 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/9.331, allocations: 126.1 kB / 1.685 GB, free: 19.64 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/9.331, allocations: 4 kB / 1.685 GB, free: 19.64 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001078/9.332, allocations: 337.9 kB / 1.685 GB, free: 19.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007591/9.332, allocations: 201.5 kB / 1.685 GB, free: 19.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/9.333, allocations: 485.4 kB / 1.686 GB, free: 18.51 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/9.335, allocations: 307 kB / 1.686 GB, free: 18.21 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/9.335, allocations: 0 / 1.686 GB, free: 18.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003053/9.338, allocations: 0.7524 MB / 1.687 GB, free: 17.45 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005365/9.338, allocations: 2.044 MB / 1.689 GB, free: 15.28 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/9.339, allocations: 4 kB / 1.689 GB, free: 15.28 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.066e-05/9.339, allocations: 8 kB / 1.689 GB, free: 15.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/9.34, allocations: 183.7 kB / 1.689 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/9.341, allocations: 8 kB / 1.689 GB, free: 15.08 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/9.343, allocations: 146.9 kB / 1.689 GB, free: 14.94 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/9.344, allocations: 39.98 kB / 1.689 GB, free: 14.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/9.344, allocations: 7.938 kB / 1.689 GB, free: 14.89 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002515/9.346, allocations: 0.5643 MB / 1.69 GB, free: 14.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/9.346, allocations: 8 kB / 1.69 GB, free: 14.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/9.346, allocations: 8 kB / 1.69 GB, free: 14.31 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/9.348, allocations: 176.3 kB / 1.69 GB, free: 14.14 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/9.348, allocations: 19.91 kB / 1.69 GB, free: 14.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/9.351, allocations: 115.3 kB / 1.69 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/9.351, allocations: 39.98 kB / 1.69 GB, free: 13.96 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 93 * 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.0003067/9.352, allocations: 120.8 kB / 1.69 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/9.352, allocations: 130.3 kB / 1.69 GB, free: 13.71 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/9.354, allocations: 473.5 kB / 1.691 GB, free: 13.24 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/9.354, allocations: 7.906 kB / 1.691 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/9.354, allocations: 0 / 1.691 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/9.355, allocations: 0.6328 MB / 1.692 GB, free: 12.52 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004859/9.36, allocations: 1.46 MB / 1.693 GB, free: 11.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/9.36, allocations: 0 / 1.693 GB, free: 11.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009998/9.361, allocations: 91.89 kB / 1.693 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/9.361, allocations: 3.984 kB / 1.693 GB, free: 10.92 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/9.361, allocations: 8 kB / 1.693 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/9.361, allocations: 0 / 1.693 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/9.361, allocations: 0 / 1.693 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002084/9.363, allocations: 0.7231 MB / 1.694 GB, free: 10.17 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002933/9.366, allocations: 1.357 MB / 1.695 GB, free: 8.793 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/9.367, allocations: 283.2 kB / 1.695 GB, free: 8.496 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004102/9.368, allocations: 4 kB / 1.695 GB, free: 8.492 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/9.37, allocations: 103.9 kB / 1.696 GB, free: 8.391 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/9.37, allocations: 24.14 kB / 1.696 GB, free: 8.367 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/9.37, allocations: 16 kB / 1.696 GB, free: 8.352 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.002114/9.373, allocations: 0.7669 MB / 1.696 GB, free: 7.586 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008653/9.381, allocations: 1.018 MB / 1.697 GB, free: 6.566 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.00216/9.384, allocations: 0.7304 MB / 1.698 GB, free: 5.832 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002826/9.386, allocations: 0.8343 MB / 1.699 GB, free: 5.004 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/9.386, allocations: 4 kB / 1.699 GB, free: 5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004765/9.387, allocations: 160.2 kB / 1.699 GB, free: 4.844 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009887/9.397, allocations: 0.779 MB / 1.7 GB, free: 4.078 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007474/9.404, allocations: 1.702 MB / 1.701 GB, free: 2.328 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002138/9.407, allocations: 1.389 MB / 1.703 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of SimCode: time 1.443e-06/9.407, allocations: 4 kB / 1.703 GB, free: 0.9023 MB / 0.823 GB