Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.49/2.49, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001818/0.001818, allocations: 183.7 kB / 360.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001293/0.001292, allocations: 83.84 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2966/0.2979, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7176/1.016, allocations: 115.2 MB / 0.9627 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/2.083, allocations: 397.7 MB / 1.351 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003831/2.083, allocations: 92.77 kB / 1.351 GB, free: 169.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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.6516/2.735, allocations: 174.9 MB / 1.522 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/2.735, allocations: 12.5 kB / 1.522 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/2.735, allocations: 55.34 kB / 1.522 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/2.736, allocations: 425.5 kB / 1.523 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/2.736, allocations: 4 kB / 1.523 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/2.736, allocations: 20 kB / 1.523 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000428/2.737, allocations: 124.8 kB / 1.523 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/2.737, allocations: 166.4 kB / 1.523 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/2.737, allocations: 0 / 1.523 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/2.737, allocations: 4 kB / 1.523 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/2.737, allocations: 4 kB / 1.523 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/2.74, allocations: 0.8797 MB / 1.524 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/2.741, allocations: 118.5 kB / 1.524 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/2.741, allocations: 52.84 kB / 1.524 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004706/2.742, allocations: 344.4 kB / 1.524 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/2.742, allocations: 34.56 kB / 1.524 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 5.871e-06/2.742, allocations: 0 / 1.524 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.001056/2.743, allocations: 169.3 kB / 1.524 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/2.743, allocations: 51.41 kB / 1.524 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/2.744, allocations: 361.1 kB / 1.525 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/2.744, allocations: 25.7 kB / 1.525 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/2.744, allocations: 172.4 kB / 1.525 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/2.745, allocations: 51.3 kB / 1.525 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/2.745, allocations: 0 / 1.525 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001381/2.745, allocations: 346.8 kB / 1.525 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/2.745, allocations: 47.98 kB / 1.525 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/2.745, allocations: 159 kB / 1.526 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/2.746, allocations: 72.67 kB / 1.526 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/2.746, allocations: 0 / 1.526 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001037/2.747, allocations: 222.4 kB / 1.526 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/2.747, allocations: 267 kB / 1.526 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/2.747, allocations: 0 / 1.526 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/2.747, allocations: 4 kB / 1.526 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/2.748, allocations: 47.91 kB / 1.526 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/2.748, allocations: 11.91 kB / 1.526 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/2.749, allocations: 35.81 kB / 1.526 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/2.749, allocations: 15.98 kB / 1.526 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/2.749, allocations: 6.812 kB / 1.526 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008347/2.75, allocations: 143.8 kB / 1.526 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/2.75, allocations: 0 / 1.526 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/2.75, allocations: 4 kB / 1.526 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/2.751, allocations: 51.91 kB / 1.526 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/2.751, allocations: 4 kB / 1.526 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/2.752, allocations: 39.81 kB / 1.526 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/2.752, allocations: 15.98 kB / 1.526 GB, free: 3.883 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.0001799/2.752, allocations: 104.9 kB / 1.527 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/2.753, allocations: 43.44 kB / 1.527 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/2.754, allocations: 225.1 kB / 1.527 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/2.754, allocations: 3.984 kB / 1.527 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/2.754, allocations: 0 / 1.527 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/2.754, allocations: 3.938 kB / 1.527 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/2.756, allocations: 0.6336 MB / 1.527 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/2.756, allocations: 0 / 1.527 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/2.756, allocations: 31.98 kB / 1.527 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/2.756, allocations: 0 / 1.527 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/2.756, allocations: 8 kB / 1.527 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/2.756, allocations: 3.938 kB / 1.527 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/2.757, allocations: 4.125 kB / 1.527 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008703/2.757, allocations: 353.1 kB / 1.528 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009767/2.758, allocations: 0.7461 MB / 1.529 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/2.759, allocations: 140.6 kB / 1.529 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/2.759, allocations: 0 / 1.529 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/2.76, allocations: 35.81 kB / 1.529 GB, free: 1.371 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/2.76, allocations: 11.98 kB / 1.529 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.449e-05/2.76, allocations: 8 kB / 1.529 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000643/2.76, allocations: 271.2 kB / 1.529 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003874/2.764, allocations: 295.5 kB / 1.529 GB, free: 0.8008 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.001321/2.766, allocations: 0.4884 MB / 1.53 GB, free: 408 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007209/2.766, allocations: 238.2 kB / 1.53 GB, free: 168 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/2.767, allocations: 0 / 1.53 GB, free: 168 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/2.767, allocations: 75.91 kB / 1.53 GB, free: 92 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/2.769, allocations: 185.1 kB / 1.53 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/2.771, allocations: 0.4889 MB / 1.531 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007729/2.771, allocations: 0.8741 MB / 1.532 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of SimCode: time 1.533e-06/2.771, allocations: 4 kB / 1.532 GB, free: 14.48 MB / 0.8698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)