Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.364/1.364, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009589/0.000959, allocations: 183.3 kB / 361.1 MB, free: 7.105 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.136/1.136, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.000845/0.000845, allocations: 82.16 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2232/0.2241, allocations: 121.4 MB / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.7485, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7322/1.481, allocations: 402.4 MB / 1.357 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/1.481, allocations: 89.16 kB / 1.357 GB, free: 163.7 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.3147/1.796, allocations: 175.4 MB / 1.528 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.796, allocations: 8 kB / 1.528 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/1.796, allocations: 63.34 kB / 1.528 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/1.797, allocations: 457.2 kB / 1.529 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/1.797, allocations: 8 kB / 1.529 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/1.797, allocations: 20 kB / 1.529 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002647/1.797, allocations: 141 kB / 1.529 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/1.797, allocations: 240.3 kB / 1.529 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.797, allocations: 0 / 1.529 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/1.798, allocations: 0 / 1.529 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/1.798, allocations: 7.906 kB / 1.529 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/1.799, allocations: 1.447 MB / 1.53 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/1.799, allocations: 133.1 kB / 1.531 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/1.8, allocations: 64.92 kB / 1.531 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/1.801, allocations: 1.356 MB / 1.532 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/1.801, allocations: 30.56 kB / 1.532 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/1.801, allocations: 0 / 1.532 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.000485/1.802, allocations: 180 kB / 1.532 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/1.802, allocations: 59.25 kB / 1.532 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/1.802, allocations: 473.3 kB / 1.533 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/1.802, allocations: 25.7 kB / 1.533 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/1.802, allocations: 207.9 kB / 1.533 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/1.802, allocations: 55.3 kB / 1.533 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/1.802, allocations: 0 / 1.533 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.803, allocations: 354.7 kB / 1.533 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/1.803, allocations: 56.55 kB / 1.533 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/1.803, allocations: 205.1 kB / 1.534 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/1.803, allocations: 112 kB / 1.534 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.803, allocations: 0 / 1.534 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005109/1.804, allocations: 271.2 kB / 1.534 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002798/1.804, allocations: 0.9661 MB / 1.535 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.804, allocations: 4 kB / 1.535 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.804, allocations: 7.938 kB / 1.535 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/1.804, allocations: 71.89 kB / 1.535 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/1.804, allocations: 4 kB / 1.535 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/1.805, allocations: 43.72 kB / 1.535 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.513e-05/1.805, allocations: 12 kB / 1.535 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/1.805, allocations: 4 kB / 1.535 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004175/1.805, allocations: 187.9 kB / 1.535 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/1.805, allocations: 8.031 kB / 1.535 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/1.805, allocations: 4 kB / 1.535 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/1.806, allocations: 63.91 kB / 1.535 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.806, allocations: 11.92 kB / 1.535 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/1.806, allocations: 39.77 kB / 1.535 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/1.806, allocations: 19.98 kB / 1.535 GB, free: 10.12 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 9.047e-05/1.806, allocations: 116.8 kB / 1.535 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/1.806, allocations: 43.44 kB / 1.535 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/1.807, allocations: 248.1 kB / 1.536 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.807, allocations: 0 / 1.536 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/1.807, allocations: 0 / 1.536 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.807, allocations: 8 kB / 1.536 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009281/1.808, allocations: 0.6816 MB / 1.536 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.808, allocations: 8.031 kB / 1.536 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/1.808, allocations: 31.92 kB / 1.536 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.808, allocations: 4 kB / 1.536 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/1.808, allocations: 3.984 kB / 1.536 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.808, allocations: 4 kB / 1.536 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.808, allocations: 0 / 1.536 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004623/1.808, allocations: 373 kB / 1.537 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006302/1.809, allocations: 0.767 MB / 1.538 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/1.809, allocations: 156.4 kB / 1.538 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.924e-05/1.809, allocations: 7.906 kB / 1.538 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/1.809, allocations: 15.98 kB / 1.538 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/1.81, allocations: 11.98 kB / 1.538 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/1.81, allocations: 12 kB / 1.538 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003744/1.81, allocations: 358.9 kB / 1.538 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002255/1.812, allocations: 335.5 kB / 1.538 GB, free: 6.773 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.001284/1.813, allocations: 0.5369 MB / 1.539 GB, free: 6.309 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006863/1.814, allocations: 293.1 kB / 1.539 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.814, allocations: 0 / 1.539 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/1.814, allocations: 72.86 kB / 1.539 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/1.815, allocations: 211.7 kB / 1.539 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/1.817, allocations: 0.5722 MB / 1.54 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/1.817, allocations: 0.9092 MB / 1.541 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/1.817, allocations: 0 / 1.541 GB, free: 4.191 MB / 0.8698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)