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.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.223/4.223, allocations: 433 MB / 440.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5795/4.803, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/5.069, allocations: 98.73 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/6.172, allocations: 381.3 MB / 1.001 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003608/6.173, allocations: 99.08 kB / 1.001 GB, free: 6.348 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 1.084/7.257, allocations: 168.1 MB / 1.165 GB, free: 189.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/7.257, allocations: 7.875 kB / 1.165 GB, free: 189.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/7.257, allocations: 57.69 kB / 1.165 GB, free: 189.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/7.259, allocations: 415.7 kB / 1.165 GB, free: 189 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/7.259, allocations: 7.438 kB / 1.165 GB, free: 189 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.009e-05/7.259, allocations: 19.44 kB / 1.165 GB, free: 189 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005481/7.259, allocations: 117 kB / 1.165 GB, free: 189 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/7.26, allocations: 158.4 kB / 1.166 GB, free: 189 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/7.26, allocations: 0 / 1.166 GB, free: 189 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/7.26, allocations: 7.234 kB / 1.166 GB, free: 189 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/7.26, allocations: 7.719 kB / 1.166 GB, free: 189 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/7.263, allocations: 0.8483 MB / 1.166 GB, free: 188.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/7.263, allocations: 116.7 kB / 1.167 GB, free: 188.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/7.263, allocations: 35.11 kB / 1.167 GB, free: 188.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/7.275, allocations: 343.3 kB / 1.167 GB, free: 188.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/7.275, allocations: 30.56 kB / 1.167 GB, free: 188.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 3.797e-06/7.275, allocations: 0 / 1.167 GB, free: 188.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.00104/7.276, allocations: 144.7 kB / 1.167 GB, free: 188 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/7.276, allocations: 51.41 kB / 1.167 GB, free: 188 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008619/7.277, allocations: 344.8 kB / 1.167 GB, free: 187.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/7.277, allocations: 32.92 kB / 1.167 GB, free: 187.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/7.277, allocations: 173.4 kB / 1.168 GB, free: 187.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/7.277, allocations: 37.5 kB / 1.168 GB, free: 187.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/7.277, allocations: 0 / 1.168 GB, free: 187.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001181/7.277, allocations: 353.8 kB / 1.168 GB, free: 187.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/7.278, allocations: 45.62 kB / 1.168 GB, free: 187.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/7.278, allocations: 157.1 kB / 1.168 GB, free: 187.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/7.278, allocations: 71.14 kB / 1.168 GB, free: 187.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/7.278, allocations: 0 / 1.168 GB, free: 187.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009257/7.279, allocations: 200.3 kB / 1.168 GB, free: 187.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.709e-05/7.28, allocations: 286.1 kB / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/7.28, allocations: 0 / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/7.28, allocations: 0 / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/7.28, allocations: 48.28 kB / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/7.28, allocations: 0 / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/7.281, allocations: 51.92 kB / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/7.281, allocations: 18.52 kB / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/7.281, allocations: 3.906 kB / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007606/7.282, allocations: 127.8 kB / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/7.282, allocations: 0 / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/7.282, allocations: 3.844 kB / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/7.283, allocations: 52.08 kB / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/7.283, allocations: 3.906 kB / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/7.284, allocations: 33.41 kB / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/7.284, allocations: 15.42 kB / 1.169 GB, free: 186.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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.0002115/7.284, allocations: 112.3 kB / 1.169 GB, free: 186.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/7.285, allocations: 38.16 kB / 1.169 GB, free: 186.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/7.286, allocations: 193.6 kB / 1.169 GB, free: 186.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/7.286, allocations: 3.234 kB / 1.169 GB, free: 186.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/7.286, allocations: 0 / 1.169 GB, free: 186.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/7.286, allocations: 3.375 kB / 1.169 GB, free: 186.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/7.287, allocations: 0.5742 MB / 1.17 GB, free: 186.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/7.287, allocations: 0 / 1.17 GB, free: 186.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/7.288, allocations: 24.92 kB / 1.17 GB, free: 186.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/7.288, allocations: 3.906 kB / 1.17 GB, free: 186.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/7.288, allocations: 6.938 kB / 1.17 GB, free: 186.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/7.288, allocations: 7.344 kB / 1.17 GB, free: 186.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/7.288, allocations: 0 / 1.17 GB, free: 186.4 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007108/7.289, allocations: 293.3 kB / 1.17 GB, free: 186.2 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000868/7.29, allocations: 0.6811 MB / 1.171 GB, free: 185.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/7.29, allocations: 134.5 kB / 1.171 GB, free: 185.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/7.29, allocations: 3.875 kB / 1.171 GB, free: 185.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007265/7.291, allocations: 33.73 kB / 1.171 GB, free: 185.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/7.291, allocations: 10.64 kB / 1.171 GB, free: 185.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/7.291, allocations: 3.906 kB / 1.171 GB, free: 185.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0005984/7.292, allocations: 269.2 kB / 1.171 GB, free: 185.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005028/7.297, allocations: 277.5 kB / 1.172 GB, free: 185.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001504/7.298, allocations: 435.1 kB / 1.172 GB, free: 185.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009797/7.299, allocations: 270.1 kB / 1.172 GB, free: 185.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/7.299, allocations: 6.094 kB / 1.172 GB, free: 185.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/7.299, allocations: 57.61 kB / 1.172 GB, free: 185.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/7.302, allocations: 182.6 kB / 1.173 GB, free: 185.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/7.304, allocations: 474.6 kB / 1.173 GB, free: 184.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006115/7.305, allocations: 0.8702 MB / 1.174 GB, free: 184.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.162e-06/7.305, allocations: 0 / 1.174 GB, free: 184.2 MB / 0.823 GB