Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.51/2.51, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001812/0.001812, allocations: 185.2 kB / 360.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.949/1.949, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001256/0.001255, allocations: 91.67 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2807/0.282, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6803/0.9624, allocations: 115.2 MB / 0.9627 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/2.109, allocations: 402.3 MB / 1.356 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/2.109, allocations: 97.17 kB / 1.356 GB, free: 160.8 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.6239/2.733, allocations: 175.4 MB / 1.527 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/2.733, allocations: 12.5 kB / 1.527 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/2.733, allocations: 59.28 kB / 1.527 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/2.735, allocations: 457.3 kB / 1.527 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/2.735, allocations: 12 kB / 1.527 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/2.735, allocations: 16 kB / 1.527 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005046/2.735, allocations: 145 kB / 1.528 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/2.736, allocations: 232.3 kB / 1.528 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/2.736, allocations: 0 / 1.528 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/2.736, allocations: 0 / 1.528 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/2.736, allocations: 11.91 kB / 1.528 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/2.739, allocations: 1.444 MB / 1.529 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/2.739, allocations: 144.8 kB / 1.529 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/2.74, allocations: 64.94 kB / 1.529 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002357/2.742, allocations: 1.352 MB / 1.531 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/2.742, allocations: 42.5 kB / 1.531 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.185e-06/2.742, allocations: 0 / 1.531 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0007806/2.743, allocations: 176.3 kB / 1.531 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/2.743, allocations: 59.31 kB / 1.531 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/2.745, allocations: 469.3 kB / 1.531 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.154e-05/2.745, allocations: 29.7 kB / 1.532 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/2.745, allocations: 203.9 kB / 1.532 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/2.745, allocations: 55.28 kB / 1.532 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/2.745, allocations: 0 / 1.532 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003057/2.745, allocations: 358.7 kB / 1.532 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/2.746, allocations: 48.55 kB / 1.532 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/2.746, allocations: 220.9 kB / 1.532 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008546/2.747, allocations: 108 kB / 1.532 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/2.747, allocations: 0 / 1.532 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001827/2.749, allocations: 264.8 kB / 1.533 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007804/2.75, allocations: 0.9678 MB / 1.534 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/2.75, allocations: 0 / 1.534 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.715e-05/2.75, allocations: 4 kB / 1.534 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/2.751, allocations: 67.91 kB / 1.534 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/2.751, allocations: 4 kB / 1.534 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/2.753, allocations: 39.72 kB / 1.534 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/2.753, allocations: 19.98 kB / 1.534 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/2.753, allocations: 4 kB / 1.534 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001141/2.754, allocations: 194.4 kB / 1.534 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/2.754, allocations: 4 kB / 1.534 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/2.754, allocations: 4 kB / 1.534 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009586/2.755, allocations: 63.91 kB / 1.534 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/2.755, allocations: 8.25 kB / 1.534 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/2.756, allocations: 43.73 kB / 1.534 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/2.756, allocations: 15.98 kB / 1.534 GB, free: 6.777 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.000259/2.757, allocations: 128.5 kB / 1.534 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/2.757, allocations: 43.44 kB / 1.534 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/2.759, allocations: 241.2 kB / 1.535 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/2.759, allocations: 11.98 kB / 1.535 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/2.759, allocations: 0 / 1.535 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/2.759, allocations: 0 / 1.535 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/2.762, allocations: 0.6815 MB / 1.535 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/2.762, allocations: 0 / 1.535 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/2.763, allocations: 39.92 kB / 1.535 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-06/2.763, allocations: 0 / 1.535 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/2.763, allocations: 8.125 kB / 1.535 GB, free: 5.559 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/2.763, allocations: 0 / 1.535 GB, free: 5.559 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/2.763, allocations: 4 kB / 1.535 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008382/2.764, allocations: 377 kB / 1.536 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009528/2.765, allocations: 0.7588 MB / 1.536 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/2.765, allocations: 156.4 kB / 1.536 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/2.765, allocations: 3.906 kB / 1.536 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005839/2.766, allocations: 23.97 kB / 1.537 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/2.766, allocations: 19.92 kB / 1.537 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/2.766, allocations: 4 kB / 1.537 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007534/2.767, allocations: 362.9 kB / 1.537 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003889/2.771, allocations: 335.5 kB / 1.537 GB, free: 3.418 MB / 0.8698 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 (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.001637/2.772, allocations: 0.5279 MB / 1.538 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009683/2.773, allocations: 291.3 kB / 1.538 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/2.773, allocations: 4 kB / 1.538 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/2.774, allocations: 67.92 kB / 1.538 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/2.776, allocations: 204.3 kB / 1.538 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/2.778, allocations: 0.5753 MB / 1.539 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/2.779, allocations: 0.9061 MB / 1.54 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of SimCode: time 1.703e-06/2.779, allocations: 0 / 1.54 GB, free: 0.875 MB / 0.8698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)