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.ThreeWayValveParameterization.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.ThreeWayValveParameterization,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.42/4.42, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5489/4.969, allocations: 104.3 MB / 0.5319 GB, free: 12.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/5.216, allocations: 98.71 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/6.256, allocations: 413.7 MB / 1.032 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004814/6.257, allocations: 98.03 kB / 1.032 GB, free: 6.621 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 6.197/12.45, allocations: 1.061 GB / 2.093 GB, free: 84.61 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/12.45, allocations: 8.688 kB / 2.093 GB, free: 84.61 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/12.45, allocations: 258 kB / 2.093 GB, free: 84.49 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/12.47, allocations: 1.646 MB / 2.095 GB, free: 84.11 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/12.47, allocations: 39.5 kB / 2.095 GB, free: 84.11 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004244/12.47, allocations: 85.75 kB / 2.095 GB, free: 84.11 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002892/12.47, allocations: 0.8883 MB / 2.096 GB, free: 84.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/12.47, allocations: 0.9112 MB / 2.097 GB, free: 84.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/12.47, allocations: 0 / 2.097 GB, free: 84.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/12.47, allocations: 3.219 kB / 2.097 GB, free: 84.02 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/12.47, allocations: 26.53 kB / 2.097 GB, free: 84.02 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/12.49, allocations: 5.887 MB / 2.103 GB, free: 81.46 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/12.49, allocations: 0.5869 MB / 2.103 GB, free: 81.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009823/12.49, allocations: 334.5 kB / 2.104 GB, free: 81.42 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/12.49, allocations: 0.5037 MB / 2.104 GB, free: 80.86 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/12.49, allocations: 50.33 kB / 2.104 GB, free: 80.82 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=55): time 3.636e-06/12.49, allocations: 0 / 2.104 GB, free: 80.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55): time 0.003274/12.5, allocations: 0.8207 MB / 2.105 GB, free: 80.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/12.5, allocations: 58.22 kB / 2.105 GB, free: 80.62 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003332/12.5, allocations: 1.267 MB / 2.106 GB, free: 80.41 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003943/12.5, allocations: 30.83 kB / 2.106 GB, free: 80.38 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006973/12.5, allocations: 0.5926 MB / 2.107 GB, free: 80.14 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000315/12.5, allocations: 183.9 kB / 2.107 GB, free: 80.02 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/12.5, allocations: 0 / 2.107 GB, free: 80.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001119/12.5, allocations: 352.8 kB / 2.107 GB, free: 79.72 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/12.5, allocations: 388.6 kB / 2.108 GB, free: 79.71 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/12.5, allocations: 0.7072 MB / 2.108 GB, free: 79.38 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/12.51, allocations: 0.4888 MB / 2.109 GB, free: 79.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.309e-05/12.51, allocations: 2.156 kB / 2.109 GB, free: 79.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00694/12.51, allocations: 1.258 MB / 2.11 GB, free: 79.21 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003062/12.51, allocations: 0.9191 MB / 2.111 GB, free: 78.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/12.51, allocations: 3.719 kB / 2.111 GB, free: 78.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.225e-05/12.51, allocations: 6.656 kB / 2.111 GB, free: 78.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003741/12.52, allocations: 283 kB / 2.111 GB, free: 78.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.588e-05/12.52, allocations: 12.98 kB / 2.111 GB, free: 78.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003691/12.52, allocations: 185.5 kB / 2.111 GB, free: 78.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/12.52, allocations: 67.06 kB / 2.112 GB, free: 78.19 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/12.52, allocations: 3.656 kB / 2.112 GB, free: 78.19 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002897/12.52, allocations: 0.9875 MB / 2.113 GB, free: 78.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/12.52, allocations: 0 / 2.113 GB, free: 78.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/12.52, allocations: 10.28 kB / 2.113 GB, free: 78.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/12.53, allocations: 280 kB / 2.113 GB, free: 78.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/12.53, allocations: 8.344 kB / 2.113 GB, free: 78.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003574/12.53, allocations: 163.2 kB / 2.113 GB, free: 78.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/12.53, allocations: 60.77 kB / 2.113 GB, free: 78.13 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.0004023/12.53, allocations: 127.4 kB / 2.113 GB, free: 78.02 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/12.53, allocations: 174.8 kB / 2.113 GB, free: 77.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/12.53, allocations: 0.9674 MB / 2.114 GB, free: 77.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/12.53, allocations: 7 kB / 2.114 GB, free: 77.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/12.53, allocations: 0 / 2.114 GB, free: 77.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/12.53, allocations: 3.797 kB / 2.114 GB, free: 77.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005806/12.54, allocations: 2.1 MB / 2.116 GB, free: 77.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/12.54, allocations: 7.625 kB / 2.116 GB, free: 77.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/12.54, allocations: 126.8 kB / 2.116 GB, free: 77.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/12.54, allocations: 3.125 kB / 2.116 GB, free: 77.49 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/12.54, allocations: 10.81 kB / 2.116 GB, free: 77.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/12.54, allocations: 3.969 kB / 2.116 GB, free: 77.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/12.54, allocations: 1.312 kB / 2.116 GB, free: 77.49 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002407/12.54, allocations: 0.963 MB / 2.117 GB, free: 77.15 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002905/12.55, allocations: 1.469 MB / 2.119 GB, free: 76.42 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/12.55, allocations: 336.6 kB / 2.119 GB, free: 76.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005615/12.55, allocations: 7.859 kB / 2.119 GB, free: 76.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/12.55, allocations: 108 kB / 2.119 GB, free: 76.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/12.55, allocations: 36.3 kB / 2.119 GB, free: 76.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/12.55, allocations: 32.92 kB / 2.119 GB, free: 76.21 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.002832/12.56, allocations: 0.9218 MB / 2.12 GB, free: 76.06 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0126/12.57, allocations: 1.247 MB / 2.121 GB, free: 75.95 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002938/12.57, allocations: 0.9726 MB / 2.122 GB, free: 75.69 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005854/12.58, allocations: 1.547 MB / 2.124 GB, free: 75.66 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/12.58, allocations: 3.5 kB / 2.124 GB, free: 75.66 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/12.58, allocations: 360.6 kB / 2.124 GB, free: 75.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01477/12.59, allocations: 0.908 MB / 2.125 GB, free: 75.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/12.6, allocations: 2.154 MB / 2.127 GB, free: 75.01 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002944/12.61, allocations: 1.568 MB / 2.129 GB, free: 74.29 MB / 0.8542 GB Notification: Performance of SimCode: time 2.655e-06/12.61, allocations: 0 / 2.129 GB, free: 74.29 MB / 0.8542 GB