Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001166/0.001166, allocations: 184.1 kB / 366.3 MB, free: 1.949 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.697/1.697, allocations: 205.1 MB / 0.6256 GB, free: 7.434 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.0009821/0.0009817, allocations: 89.92 kB / 0.7396 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3196/0.3206, allocations: 122.4 MB / 0.8591 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/1.119, allocations: 116.3 MB / 0.9727 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9631/2.082, allocations: 398.9 MB / 1.362 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/2.082, allocations: 94.81 kB / 1.362 GB, free: 156.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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.3429/2.425, allocations: 174.9 MB / 1.533 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/2.425, allocations: 8 kB / 1.533 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/2.426, allocations: 55.34 kB / 1.533 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/2.427, allocations: 429.4 kB / 1.534 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/2.427, allocations: 8 kB / 1.534 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/2.427, allocations: 16 kB / 1.534 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003344/2.427, allocations: 128.8 kB / 1.534 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/2.427, allocations: 166.4 kB / 1.534 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/2.427, allocations: 0 / 1.534 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/2.427, allocations: 0 / 1.534 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/2.427, allocations: 7.984 kB / 1.534 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/2.429, allocations: 0.8708 MB / 1.535 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/2.43, allocations: 114.5 kB / 1.535 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/2.43, allocations: 56.84 kB / 1.535 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004178/2.43, allocations: 340.4 kB / 1.535 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/2.43, allocations: 34.56 kB / 1.535 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 4.719e-06/2.43, allocations: 0 / 1.535 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0006124/2.431, allocations: 169.3 kB / 1.535 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/2.431, allocations: 55.41 kB / 1.535 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/2.431, allocations: 361 kB / 1.536 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/2.431, allocations: 25.7 kB / 1.536 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/2.432, allocations: 172.4 kB / 1.536 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/2.432, allocations: 47.3 kB / 1.536 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/2.432, allocations: 0 / 1.536 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000127/2.432, allocations: 346.8 kB / 1.536 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/2.432, allocations: 51.98 kB / 1.536 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/2.432, allocations: 156.1 kB / 1.537 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/2.432, allocations: 81.11 kB / 1.537 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/2.432, allocations: 4 kB / 1.537 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004447/2.433, allocations: 213.8 kB / 1.537 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/2.433, allocations: 268.7 kB / 1.537 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/2.433, allocations: 4 kB / 1.537 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/2.433, allocations: 0 / 1.537 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/2.433, allocations: 51.91 kB / 1.537 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/2.433, allocations: 7.906 kB / 1.537 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/2.434, allocations: 35.81 kB / 1.537 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/2.434, allocations: 15.98 kB / 1.537 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/2.434, allocations: 8 kB / 1.537 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003467/2.434, allocations: 139.8 kB / 1.537 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/2.434, allocations: 0 / 1.537 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-06/2.434, allocations: 4 kB / 1.537 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/2.434, allocations: 51.91 kB / 1.537 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/2.434, allocations: 4 kB / 1.537 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/2.435, allocations: 39.81 kB / 1.537 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/2.435, allocations: 11.98 kB / 1.537 GB, free: 6.66 MB / 0.8698 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.0001093/2.435, allocations: 105 kB / 1.538 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.202e-05/2.435, allocations: 39.44 kB / 1.538 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006288/2.436, allocations: 235.8 kB / 1.538 GB, free: 6.281 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/2.436, allocations: 0 / 1.538 GB, free: 6.281 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/2.436, allocations: 0 / 1.538 GB, free: 6.281 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/2.436, allocations: 11.94 kB / 1.538 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009839/2.437, allocations: 0.6338 MB / 1.538 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/2.437, allocations: 4 kB / 1.538 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/2.437, allocations: 27.98 kB / 1.538 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/2.437, allocations: 4 kB / 1.538 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/2.437, allocations: 4 kB / 1.538 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/2.437, allocations: 4 kB / 1.538 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/2.437, allocations: 4.125 kB / 1.538 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004644/2.437, allocations: 353.1 kB / 1.539 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006747/2.438, allocations: 0.7435 MB / 1.54 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/2.438, allocations: 140.6 kB / 1.54 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/2.438, allocations: 0 / 1.54 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/2.439, allocations: 35.81 kB / 1.54 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/2.439, allocations: 15.98 kB / 1.54 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/2.439, allocations: 4 kB / 1.54 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003498/2.439, allocations: 275.2 kB / 1.54 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002435/2.442, allocations: 287.5 kB / 1.54 GB, free: 3.578 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 (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.001269/2.443, allocations: 0.4925 MB / 1.541 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004836/2.443, allocations: 234.2 kB / 1.541 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/2.443, allocations: 4 kB / 1.541 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/2.444, allocations: 71.91 kB / 1.541 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/2.445, allocations: 187.9 kB / 1.541 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/2.446, allocations: 496.7 kB / 1.542 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/2.446, allocations: 0.8862 MB / 1.543 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of SimCode: time 5.01e-07/2.446, allocations: 0 / 1.543 GB, free: 1.227 MB / 0.8698 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)