Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.638/1.638, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.001858/0.001859, allocations: 173.3 kB / 366.3 MB, free: 1.957 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.865/1.865, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.001066/0.001066, allocations: 88.12 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3267/0.3278, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7908/1.119, allocations: 116.3 MB / 0.9727 GB, free: 68.58 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9895/2.108, allocations: 431.1 MB / 1.394 GB, free: 57.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/2.109, allocations: 105.6 kB / 1.394 GB, free: 57.57 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 4.236/6.345, allocations: 1.103 GB / 2.497 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/6.345, allocations: 11.02 kB / 2.497 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/6.346, allocations: 265.4 kB / 2.497 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006053/6.352, allocations: 1.64 MB / 2.498 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-05/6.352, allocations: 38.06 kB / 2.498 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007413/6.353, allocations: 91.25 kB / 2.499 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002621/6.356, allocations: 0.9178 MB / 2.499 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/6.359, allocations: 0.9391 MB / 2.5 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.19e-05/6.359, allocations: 0 / 2.5 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/6.359, allocations: 0 / 2.5 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/6.359, allocations: 31.31 kB / 2.5 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/6.37, allocations: 5.974 MB / 2.506 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/6.371, allocations: 0.5732 MB / 2.507 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004502/6.372, allocations: 363.7 kB / 2.507 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004226/6.372, allocations: 0.504 MB / 2.508 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/6.372, allocations: 44.05 kB / 2.508 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=58): time 3.457e-06/6.372, allocations: 1.312 kB / 2.508 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=58): time 0.001845/6.374, allocations: 0.8497 MB / 2.509 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/6.374, allocations: 60.86 kB / 2.509 GB, free: 101.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/6.376, allocations: 1.284 MB / 2.51 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/6.376, allocations: 29.55 kB / 2.51 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000423/6.376, allocations: 0.5926 MB / 2.51 GB, free: 101 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/6.377, allocations: 203.4 kB / 2.511 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/6.377, allocations: 0 / 2.511 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000102/6.377, allocations: 345.2 kB / 2.511 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/6.377, allocations: 394.8 kB / 2.511 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000865/6.378, allocations: 0.7219 MB / 2.512 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009569/6.379, allocations: 0.4968 MB / 2.513 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/6.379, allocations: 0 / 2.513 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002484/6.382, allocations: 1.279 MB / 2.514 GB, free: 100 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002141/6.382, allocations: 0.9197 MB / 2.515 GB, free: 99.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/6.382, allocations: 3.656 kB / 2.515 GB, free: 99.05 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/6.382, allocations: 6.969 kB / 2.515 GB, free: 99.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/6.383, allocations: 285.7 kB / 2.515 GB, free: 99.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/6.383, allocations: 6.406 kB / 2.515 GB, free: 99.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/6.386, allocations: 192.1 kB / 2.515 GB, free: 99 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/6.386, allocations: 64.14 kB / 2.515 GB, free: 98.99 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/6.386, allocations: 6.938 kB / 2.515 GB, free: 98.99 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001769/6.388, allocations: 1.009 MB / 2.516 GB, free: 98.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/6.388, allocations: 7.234 kB / 2.516 GB, free: 98.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/6.388, allocations: 7.219 kB / 2.516 GB, free: 98.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/6.389, allocations: 293.8 kB / 2.516 GB, free: 98.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/6.389, allocations: 7.375 kB / 2.516 GB, free: 98.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/6.391, allocations: 162.1 kB / 2.517 GB, free: 98.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/6.392, allocations: 58.88 kB / 2.517 GB, free: 98.93 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.0003508/6.392, allocations: 134.6 kB / 2.517 GB, free: 98.82 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/6.392, allocations: 175.1 kB / 2.517 GB, free: 98.72 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/6.395, allocations: 1.048 MB / 2.518 GB, free: 98.62 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/6.395, allocations: 11.42 kB / 2.518 GB, free: 98.62 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/6.395, allocations: 0 / 2.518 GB, free: 98.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/6.395, allocations: 3.656 kB / 2.518 GB, free: 98.62 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003962/6.399, allocations: 2.199 MB / 2.52 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/6.399, allocations: 3.438 kB / 2.52 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006769/6.399, allocations: 136.4 kB / 2.52 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/6.399, allocations: 6.891 kB / 2.52 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/6.4, allocations: 17.73 kB / 2.52 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/6.4, allocations: 2.969 kB / 2.52 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/6.4, allocations: 3 kB / 2.52 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001533/6.401, allocations: 1.095 MB / 2.521 GB, free: 97.8 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001809/6.403, allocations: 1.581 MB / 2.523 GB, free: 96.98 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009029/6.404, allocations: 345.8 kB / 2.523 GB, free: 96.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/6.404, allocations: 0 / 2.523 GB, free: 96.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/6.405, allocations: 109.3 kB / 2.523 GB, free: 96.77 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/6.405, allocations: 51.31 kB / 2.523 GB, free: 96.77 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/6.405, allocations: 17.69 kB / 2.523 GB, free: 96.77 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.001455/6.407, allocations: 0.9425 MB / 2.524 GB, free: 96.62 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005488/6.412, allocations: 1.249 MB / 2.526 GB, free: 96.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00154/6.414, allocations: 0.9978 MB / 2.527 GB, free: 96.23 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002587/6.417, allocations: 1.579 MB / 2.528 GB, free: 96.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/6.417, allocations: 0 / 2.528 GB, free: 96.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004759/6.417, allocations: 391.9 kB / 2.528 GB, free: 96.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005213/6.422, allocations: 0.9038 MB / 2.529 GB, free: 96.18 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006042/6.428, allocations: 2.242 MB / 2.532 GB, free: 95.48 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/6.43, allocations: 1.601 MB / 2.533 GB, free: 94.75 MB / 0.9948 GB Notification: Performance of SimCode: time 9.82e-07/6.43, allocations: 0 / 2.533 GB, free: 94.75 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)