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.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.169/4.169, allocations: 433 MB / 440.3 MB, free: 4.852 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5732/4.742, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/4.965, allocations: 98.72 MB / 0.6283 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/6.006, allocations: 385.9 MB / 1.005 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/6.006, allocations: 100.4 kB / 1.005 GB, free: 2.035 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 1.042/7.048, allocations: 168.6 MB / 1.17 GB, free: 256.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/7.048, allocations: 13.84 kB / 1.17 GB, free: 256.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/7.048, allocations: 61.8 kB / 1.17 GB, free: 256.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/7.05, allocations: 463.7 kB / 1.17 GB, free: 255.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/7.05, allocations: 7.562 kB / 1.17 GB, free: 255.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/7.05, allocations: 18.47 kB / 1.17 GB, free: 255.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000522/7.05, allocations: 147 kB / 1.171 GB, free: 255.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/7.051, allocations: 222.1 kB / 1.171 GB, free: 255.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/7.051, allocations: 1.094 kB / 1.171 GB, free: 255.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/7.051, allocations: 0 / 1.171 GB, free: 255.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/7.051, allocations: 5.594 kB / 1.171 GB, free: 255.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/7.054, allocations: 1.222 MB / 1.172 GB, free: 254.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007381/7.055, allocations: 161 kB / 1.172 GB, free: 254.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/7.055, allocations: 60.22 kB / 1.172 GB, free: 254.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002413/7.058, allocations: 1.354 MB / 1.173 GB, free: 253.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/7.058, allocations: 36.28 kB / 1.173 GB, free: 253.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 3.105e-06/7.058, allocations: 0 / 1.173 GB, free: 253.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.001044/7.059, allocations: 188.5 kB / 1.174 GB, free: 253 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/7.059, allocations: 57.12 kB / 1.174 GB, free: 252.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/7.06, allocations: 467.7 kB / 1.174 GB, free: 252.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.833e-05/7.06, allocations: 26.61 kB / 1.174 GB, free: 252.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/7.06, allocations: 197.2 kB / 1.174 GB, free: 252.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/7.06, allocations: 58.06 kB / 1.174 GB, free: 252.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/7.06, allocations: 0 / 1.174 GB, free: 252.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001148/7.06, allocations: 354 kB / 1.175 GB, free: 252.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/7.061, allocations: 61.45 kB / 1.175 GB, free: 252.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/7.061, allocations: 193.8 kB / 1.175 GB, free: 251.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/7.062, allocations: 119 kB / 1.175 GB, free: 251.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/7.062, allocations: 7.938 kB / 1.175 GB, free: 251.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009909/7.063, allocations: 281.9 kB / 1.175 GB, free: 251.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001946/7.063, allocations: 0.786 MB / 1.176 GB, free: 250.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/7.063, allocations: 8 kB / 1.176 GB, free: 250.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/7.063, allocations: 4 kB / 1.176 GB, free: 250.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/7.063, allocations: 71.89 kB / 1.176 GB, free: 250.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/7.063, allocations: 4 kB / 1.176 GB, free: 250.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007912/7.064, allocations: 47.66 kB / 1.176 GB, free: 250.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/7.064, allocations: 12.5 kB / 1.176 GB, free: 250.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/7.064, allocations: 4 kB / 1.176 GB, free: 250.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007897/7.065, allocations: 213.8 kB / 1.177 GB, free: 250.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/7.065, allocations: 0 / 1.177 GB, free: 250.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/7.065, allocations: 4 kB / 1.177 GB, free: 250.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/7.066, allocations: 80 kB / 1.177 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/7.066, allocations: 4 kB / 1.177 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/7.066, allocations: 39.81 kB / 1.177 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/7.066, allocations: 16 kB / 1.177 GB, free: 250.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0001278/7.066, allocations: 108.9 kB / 1.177 GB, free: 250 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/7.067, allocations: 43.44 kB / 1.177 GB, free: 249.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000986/7.068, allocations: 245.1 kB / 1.177 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/7.068, allocations: 3.984 kB / 1.177 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/7.068, allocations: 8 kB / 1.177 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/7.068, allocations: 0 / 1.177 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/7.069, allocations: 0.6707 MB / 1.178 GB, free: 249 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/7.069, allocations: 192 / 1.178 GB, free: 249 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/7.07, allocations: 31.98 kB / 1.178 GB, free: 248.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/7.07, allocations: 7.969 kB / 1.178 GB, free: 248.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/7.07, allocations: 15.97 kB / 1.178 GB, free: 248.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/7.07, allocations: 0 / 1.178 GB, free: 248.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/7.07, allocations: 0 / 1.178 GB, free: 248.9 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009199/7.071, allocations: 420.7 kB / 1.178 GB, free: 248.5 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001136/7.072, allocations: 0.8788 MB / 1.179 GB, free: 247.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/7.072, allocations: 152.8 kB / 1.179 GB, free: 247.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/7.072, allocations: 4.125 kB / 1.179 GB, free: 247.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/7.073, allocations: 23.83 kB / 1.179 GB, free: 247.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/7.073, allocations: 15.98 kB / 1.179 GB, free: 247.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/7.073, allocations: 8 kB / 1.179 GB, free: 247.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006205/7.073, allocations: 366.8 kB / 1.18 GB, free: 247 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003189/7.077, allocations: 331.4 kB / 1.18 GB, free: 246.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.001287/7.078, allocations: 463.7 kB / 1.18 GB, free: 246.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001004/7.079, allocations: 345.7 kB / 1.181 GB, free: 245.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/7.079, allocations: 0 / 1.181 GB, free: 245.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/7.079, allocations: 71.86 kB / 1.181 GB, free: 245.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/7.081, allocations: 213.1 kB / 1.181 GB, free: 245.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/7.084, allocations: 0.6174 MB / 1.182 GB, free: 244.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/7.084, allocations: 0.8938 MB / 1.182 GB, free: 244 MB / 0.823 GB Notification: Performance of SimCode: time 1.332e-06/7.084, allocations: 4 kB / 1.182 GB, free: 244 MB / 0.823 GB