Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001302/0.001302, allocations: 181.3 kB / 366.3 MB, free: 1.992 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.763/1.763, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0009668/0.0009668, allocations: 96.38 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2991/0.3001, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7225/1.023, allocations: 116.3 MB / 0.9727 GB, free: 68.44 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/2.047, allocations: 403.4 MB / 1.367 GB, free: 84.74 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/2.047, allocations: 93.12 kB / 1.367 GB, free: 84.69 MB / 0.823 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.3526/2.4, allocations: 175.4 MB / 1.538 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/2.4, allocations: 8 kB / 1.538 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/2.4, allocations: 63.33 kB / 1.538 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/2.401, allocations: 453.2 kB / 1.538 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/2.401, allocations: 8 kB / 1.538 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/2.401, allocations: 23.94 kB / 1.538 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003429/2.402, allocations: 149 kB / 1.539 GB, free: 464 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/2.402, allocations: 236.3 kB / 1.539 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/2.402, allocations: 0 / 1.539 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/2.402, allocations: 0 / 1.539 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/2.402, allocations: 7.906 kB / 1.539 GB, free: 200 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/2.404, allocations: 1.452 MB / 1.54 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/2.405, allocations: 130.9 kB / 1.54 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/2.405, allocations: 72.83 kB / 1.54 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00194/2.407, allocations: 1.352 MB / 1.542 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/2.407, allocations: 34.55 kB / 1.542 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/2.407, allocations: 0 / 1.542 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0005346/2.407, allocations: 176.3 kB / 1.542 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/2.408, allocations: 59.25 kB / 1.542 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/2.408, allocations: 477.3 kB / 1.543 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/2.408, allocations: 29.7 kB / 1.543 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/2.408, allocations: 203.9 kB / 1.543 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/2.408, allocations: 51.3 kB / 1.543 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/2.408, allocations: 0 / 1.543 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001757/2.409, allocations: 358.7 kB / 1.543 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/2.409, allocations: 52.56 kB / 1.543 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/2.409, allocations: 205.1 kB / 1.543 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/2.409, allocations: 108 kB / 1.543 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/2.409, allocations: 0 / 1.543 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006424/2.41, allocations: 276.1 kB / 1.544 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005479/2.41, allocations: 0.9605 MB / 1.545 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/2.41, allocations: 4 kB / 1.545 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/2.411, allocations: 7.984 kB / 1.545 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/2.411, allocations: 67.91 kB / 1.545 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/2.411, allocations: 4 kB / 1.545 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/2.411, allocations: 43.72 kB / 1.545 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/2.411, allocations: 12 kB / 1.545 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/2.411, allocations: 4 kB / 1.545 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004407/2.412, allocations: 195.7 kB / 1.545 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/2.412, allocations: 3.938 kB / 1.545 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/2.412, allocations: 4 kB / 1.545 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/2.412, allocations: 67.89 kB / 1.545 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/2.412, allocations: 11.88 kB / 1.545 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/2.412, allocations: 40.06 kB / 1.545 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/2.412, allocations: 16 kB / 1.545 GB, free: 9.27 MB / 0.9167 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.0001074/2.413, allocations: 116.8 kB / 1.545 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/2.413, allocations: 43.44 kB / 1.545 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005624/2.413, allocations: 244 kB / 1.546 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/2.413, allocations: 0 / 1.546 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/2.413, allocations: 0 / 1.546 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/2.413, allocations: 4 kB / 1.546 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/2.414, allocations: 0.6815 MB / 1.546 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/2.414, allocations: 4 kB / 1.546 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/2.415, allocations: 39.84 kB / 1.546 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/2.415, allocations: 4 kB / 1.546 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/2.415, allocations: 192 / 1.546 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/2.415, allocations: 4 kB / 1.546 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/2.415, allocations: 8.125 kB / 1.546 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004749/2.415, allocations: 373.8 kB / 1.547 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006942/2.416, allocations: 0.7631 MB / 1.547 GB, free: 6.824 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/2.416, allocations: 160.4 kB / 1.548 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/2.416, allocations: 7.906 kB / 1.548 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/2.416, allocations: 19.98 kB / 1.548 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/2.416, allocations: 7.984 kB / 1.548 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/2.416, allocations: 15.98 kB / 1.548 GB, free: 6.598 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0004322/2.417, allocations: 358.9 kB / 1.548 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002457/2.419, allocations: 331.5 kB / 1.548 GB, free: 5.926 MB / 0.9167 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.001144/2.42, allocations: 0.5324 MB / 1.549 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005734/2.421, allocations: 290.4 kB / 1.549 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/2.421, allocations: 0 / 1.549 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/2.421, allocations: 79.92 kB / 1.549 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/2.422, allocations: 214.3 kB / 1.549 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/2.424, allocations: 0.5742 MB / 1.55 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/2.424, allocations: 0.9016 MB / 1.551 GB, free: 3.328 MB / 0.9167 GB Notification: Performance of SimCode: time 3.61e-07/2.425, allocations: 0 / 1.551 GB, free: 3.328 MB / 0.9167 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)