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.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.125/4.125, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5642/4.689, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/4.918, allocations: 98.73 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9645/5.882, allocations: 381.9 MB / 1.001 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/5.883, allocations: 96.11 kB / 1.001 GB, free: 5.527 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 1.82/7.703, allocations: 394.1 MB / 1.386 GB, free: 34.49 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.57e-05/7.703, allocations: 12 kB / 1.386 GB, free: 34.48 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006733/7.703, allocations: 94.88 kB / 1.386 GB, free: 34.38 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/7.706, allocations: 0.5741 MB / 1.387 GB, free: 33.77 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/7.706, allocations: 16 kB / 1.387 GB, free: 33.75 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/7.707, allocations: 32 kB / 1.387 GB, free: 33.72 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001364/7.708, allocations: 234 kB / 1.387 GB, free: 33.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/7.709, allocations: 300.5 kB / 1.387 GB, free: 33.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/7.709, allocations: 0 / 1.387 GB, free: 33.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/7.709, allocations: 4 kB / 1.387 GB, free: 33.19 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/7.71, allocations: 8 kB / 1.387 GB, free: 33.18 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005659/7.715, allocations: 1.742 MB / 1.389 GB, free: 31.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/7.716, allocations: 162.5 kB / 1.389 GB, free: 31.14 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/7.716, allocations: 56.84 kB / 1.389 GB, free: 31.08 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/7.717, allocations: 340.4 kB / 1.39 GB, free: 30.67 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/7.717, allocations: 30.56 kB / 1.39 GB, free: 30.63 MB / 0.823 GB Notification: Performance of pre-optimization done (n=17): time 4.609e-06/7.717, allocations: 0 / 1.39 GB, free: 30.63 MB / 0.823 GB Notification: Performance of matching and sorting (n=17): time 0.00125/7.718, allocations: 201.1 kB / 1.39 GB, free: 30.43 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/7.718, allocations: 55.34 kB / 1.39 GB, free: 30.36 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/7.72, allocations: 491.6 kB / 1.39 GB, free: 29.88 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/7.72, allocations: 29.7 kB / 1.39 GB, free: 29.84 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/7.72, allocations: 276.2 kB / 1.391 GB, free: 29.56 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/7.72, allocations: 55.31 kB / 1.391 GB, free: 29.51 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/7.72, allocations: 3.938 kB / 1.391 GB, free: 29.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001572/7.72, allocations: 366.8 kB / 1.391 GB, free: 29.14 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/7.721, allocations: 76 kB / 1.391 GB, free: 29.06 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005178/7.721, allocations: 188.8 kB / 1.391 GB, free: 28.83 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007246/7.722, allocations: 121.4 kB / 1.392 GB, free: 28.71 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/7.722, allocations: 0 / 1.392 GB, free: 28.71 MB / 0.823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00162/7.724, allocations: 326.6 kB / 1.392 GB, free: 28.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/7.724, allocations: 267 kB / 1.392 GB, free: 28.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/7.724, allocations: 0 / 1.392 GB, free: 28.11 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.524e-05/7.724, allocations: 8 kB / 1.392 GB, free: 28.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/7.727, allocations: 144 kB / 1.392 GB, free: 27.96 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/7.729, allocations: 2.395 MB / 1.395 GB, free: 25.47 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/7.732, allocations: 79.7 kB / 1.395 GB, free: 25.39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/7.732, allocations: 12 kB / 1.395 GB, free: 25.38 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/7.733, allocations: 11.84 kB / 1.395 GB, free: 25.37 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001754/7.734, allocations: 216.1 kB / 1.395 GB, free: 25.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/7.734, allocations: 0 / 1.395 GB, free: 25.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/7.734, allocations: 4 kB / 1.395 GB, free: 25.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/7.736, allocations: 115.8 kB / 1.395 GB, free: 25.04 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/7.736, allocations: 3.984 kB / 1.395 GB, free: 25.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/7.737, allocations: 67.72 kB / 1.395 GB, free: 24.97 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/7.737, allocations: 16 kB / 1.395 GB, free: 24.96 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001675/7.737, allocations: 123.4 kB / 1.395 GB, free: 24.83 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/7.737, allocations: 55.44 kB / 1.395 GB, free: 24.78 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008414/7.738, allocations: 236.9 kB / 1.395 GB, free: 24.54 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/7.738, allocations: 7.984 kB / 1.395 GB, free: 24.53 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/7.738, allocations: 3.938 kB / 1.395 GB, free: 24.53 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/7.738, allocations: 7.891 kB / 1.395 GB, free: 24.52 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/7.74, allocations: 0.7191 MB / 1.396 GB, free: 23.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/7.74, allocations: 0 / 1.396 GB, free: 23.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/7.741, allocations: 71.78 kB / 1.396 GB, free: 23.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/7.741, allocations: 4 kB / 1.396 GB, free: 23.68 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/7.741, allocations: 4 kB / 1.396 GB, free: 23.67 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009906/7.742, allocations: 2.368 MB / 1.399 GB, free: 21.21 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/7.742, allocations: 3.938 kB / 1.399 GB, free: 21.21 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006808/7.742, allocations: 352.9 kB / 1.399 GB, free: 20.83 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001198/7.744, allocations: 0.7501 MB / 1.4 GB, free: 20.04 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/7.744, allocations: 156.2 kB / 1.4 GB, free: 19.87 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/7.744, allocations: 8 kB / 1.4 GB, free: 19.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000908/7.745, allocations: 63.77 kB / 1.4 GB, free: 19.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/7.745, allocations: 7.984 kB / 1.4 GB, free: 19.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/7.745, allocations: 12 kB / 1.4 GB, free: 19.78 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006187/7.746, allocations: 363.2 kB / 1.4 GB, free: 19.43 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003966/7.75, allocations: 483.1 kB / 1.401 GB, free: 18.96 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 (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/7.751, allocations: 482.9 kB / 1.401 GB, free: 18.49 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002938/7.754, allocations: 427.4 kB / 1.402 GB, free: 18.07 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/7.754, allocations: 4 kB / 1.402 GB, free: 18.07 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006175/7.755, allocations: 111.9 kB / 1.402 GB, free: 17.96 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/7.758, allocations: 287 kB / 1.402 GB, free: 17.67 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/7.76, allocations: 0.721 MB / 1.403 GB, free: 16.92 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005811/7.76, allocations: 0.9925 MB / 1.404 GB, free: 15.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.052e-06/7.76, allocations: 0 / 1.404 GB, free: 15.9 MB / 0.823 GB