Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.13/2.13, allocations: 248.6 MB / 255.9 MB, free: 7.129 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001612/0.001611, allocations: 187.2 kB / 315.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.1 MB / 0.5658 GB, free: 372 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001369/0.001369, allocations: 91.25 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4993/0.5007, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.714, allocations: 106.3 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.559/2.273, allocations: 391.1 MB / 1.265 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/2.274, allocations: 88.17 kB / 1.266 GB, free: 243.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.6539/2.928, allocations: 170.2 MB / 1.432 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/2.928, allocations: 11.94 kB / 1.432 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/2.928, allocations: 55.34 kB / 1.432 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/2.93, allocations: 417.5 kB / 1.432 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/2.93, allocations: 8 kB / 1.432 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/2.93, allocations: 19.98 kB / 1.432 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00066/2.931, allocations: 124.8 kB / 1.432 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/2.931, allocations: 166.4 kB / 1.433 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/2.931, allocations: 11.88 kB / 1.433 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/2.932, allocations: 0 / 1.433 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/2.932, allocations: 4 kB / 1.433 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/2.935, allocations: 0.8766 MB / 1.433 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/2.936, allocations: 114.6 kB / 1.433 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/2.936, allocations: 56.84 kB / 1.434 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004901/2.936, allocations: 340.5 kB / 1.434 GB, free: 134 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/2.936, allocations: 46.8 kB / 1.434 GB, free: 134 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 4.268e-06/2.937, allocations: 0 / 1.434 GB, free: 134 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.001109/2.938, allocations: 167.9 kB / 1.434 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/2.938, allocations: 51.41 kB / 1.434 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000821/2.939, allocations: 353.2 kB / 1.434 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.558e-05/2.939, allocations: 25.7 kB / 1.434 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/2.939, allocations: 172.4 kB / 1.435 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.769e-05/2.939, allocations: 51.2 kB / 1.435 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/2.939, allocations: 4 kB / 1.435 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001412/2.939, allocations: 350.8 kB / 1.435 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/2.939, allocations: 51.92 kB / 1.435 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/2.94, allocations: 147.1 kB / 1.435 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/2.94, allocations: 75.89 kB / 1.435 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/2.94, allocations: 0 / 1.435 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001033/2.941, allocations: 213 kB / 1.435 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-05/2.942, allocations: 280.1 kB / 1.436 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/2.942, allocations: 0 / 1.436 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/2.942, allocations: 0 / 1.436 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/2.942, allocations: 55.91 kB / 1.436 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/2.942, allocations: 0 / 1.436 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/2.943, allocations: 43.81 kB / 1.436 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/2.943, allocations: 11.98 kB / 1.436 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/2.943, allocations: 4 kB / 1.436 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005214/2.943, allocations: 134.6 kB / 1.436 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/2.944, allocations: 7.984 kB / 1.436 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/2.944, allocations: 4 kB / 1.436 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/2.944, allocations: 51.91 kB / 1.436 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/2.944, allocations: 4 kB / 1.436 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/2.945, allocations: 39.81 kB / 1.436 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/2.945, allocations: 8 kB / 1.436 GB, free: 131.6 MB / 0.8542 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): 24 * 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.0001203/2.945, allocations: 120.8 kB / 1.436 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/2.945, allocations: 39.47 kB / 1.436 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008292/2.946, allocations: 217 kB / 1.436 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/2.946, allocations: 0 / 1.436 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/2.946, allocations: 0 / 1.436 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/2.946, allocations: 0 / 1.436 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/2.947, allocations: 0.6308 MB / 1.437 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/2.947, allocations: 192 / 1.437 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/2.947, allocations: 35.97 kB / 1.437 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/2.947, allocations: 3.906 kB / 1.437 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/2.948, allocations: 7.984 kB / 1.437 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/2.948, allocations: 7.875 kB / 1.437 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/2.948, allocations: 4 kB / 1.437 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000598/2.948, allocations: 353.2 kB / 1.437 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006527/2.949, allocations: 0.7436 MB / 1.438 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/2.949, allocations: 140.5 kB / 1.438 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-05/2.949, allocations: 7.984 kB / 1.438 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/2.95, allocations: 31.92 kB / 1.438 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/2.95, allocations: 7.984 kB / 1.438 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/2.95, allocations: 7.984 kB / 1.438 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0004382/2.95, allocations: 275.2 kB / 1.439 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003065/2.953, allocations: 283.5 kB / 1.439 GB, free: 128.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.001359/2.955, allocations: 0.5006 MB / 1.439 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007415/2.955, allocations: 230.2 kB / 1.44 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/2.955, allocations: 0 / 1.44 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/2.956, allocations: 72.11 kB / 1.44 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/2.958, allocations: 186.2 kB / 1.44 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/2.959, allocations: 0.5043 MB / 1.44 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/2.96, allocations: 0.8698 MB / 1.441 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.182e-06/2.96, allocations: 0 / 1.441 GB, free: 126.2 MB / 0.8542 GB