Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.478/2.478, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001668/0.001667, allocations: 185.2 kB / 360.3 MB, free: 7.551 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.965/1.965, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001304/0.001304, allocations: 92.64 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2924/0.2938, allocations: 121.4 MB / 0.8502 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/1.032, allocations: 115.2 MB / 0.9628 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/2.153, allocations: 429.9 MB / 1.383 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000837/2.154, allocations: 96.88 kB / 1.383 GB, free: 138.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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 5.656/7.81, allocations: 1.103 GB / 2.486 GB, free: 103.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/7.81, allocations: 6.406 kB / 2.486 GB, free: 103.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/7.811, allocations: 269 kB / 2.486 GB, free: 103.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00744/7.819, allocations: 1.651 MB / 2.487 GB, free: 102.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/7.819, allocations: 37.84 kB / 2.487 GB, free: 102.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004872/7.819, allocations: 88.69 kB / 2.488 GB, free: 102.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003262/7.823, allocations: 0.9202 MB / 2.488 GB, free: 102.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/7.826, allocations: 0.9344 MB / 2.489 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/7.826, allocations: 0 / 2.489 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/7.826, allocations: 0 / 2.489 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/7.826, allocations: 29.62 kB / 2.489 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02198/7.848, allocations: 5.962 MB / 2.495 GB, free: 99.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/7.85, allocations: 0.5636 MB / 2.496 GB, free: 99.92 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/7.852, allocations: 365.5 kB / 2.496 GB, free: 99.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007841/7.853, allocations: 0.5137 MB / 2.497 GB, free: 99.35 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/7.853, allocations: 37.84 kB / 2.497 GB, free: 99.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 5.32e-06/7.853, allocations: 0 / 2.497 GB, free: 99.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.004928/7.858, allocations: 0.8485 MB / 2.497 GB, free: 99.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/7.858, allocations: 59.81 kB / 2.498 GB, free: 99.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004526/7.862, allocations: 1.287 MB / 2.499 GB, free: 98.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004715/7.863, allocations: 29.64 kB / 2.499 GB, free: 98.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/7.864, allocations: 0.5918 MB / 2.499 GB, free: 98.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004863/7.864, allocations: 196.3 kB / 2.5 GB, free: 98.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/7.865, allocations: 2.469 kB / 2.5 GB, free: 98.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000162/7.865, allocations: 348.3 kB / 2.5 GB, free: 98.12 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/7.867, allocations: 396 kB / 2.5 GB, free: 98.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/7.869, allocations: 0.7111 MB / 2.501 GB, free: 97.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002866/7.872, allocations: 0.5012 MB / 2.501 GB, free: 97.76 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/7.872, allocations: 3.094 kB / 2.502 GB, free: 97.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.006676/7.879, allocations: 1.273 MB / 2.503 GB, free: 97.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003318/7.879, allocations: 0.9226 MB / 2.504 GB, free: 96.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/7.879, allocations: 0 / 2.504 GB, free: 96.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.114e-05/7.879, allocations: 10.72 kB / 2.504 GB, free: 96.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/7.884, allocations: 284.7 kB / 2.504 GB, free: 96.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.905e-05/7.884, allocations: 11.09 kB / 2.504 GB, free: 96.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005603/7.89, allocations: 197.4 kB / 2.504 GB, free: 96.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006049/7.89, allocations: 62.56 kB / 2.504 GB, free: 96.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/7.89, allocations: 3.75 kB / 2.504 GB, free: 96.59 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00509/7.895, allocations: 1.005 MB / 2.505 GB, free: 96.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/7.896, allocations: 2.688 kB / 2.505 GB, free: 96.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-05/7.896, allocations: 7.562 kB / 2.505 GB, free: 96.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005056/7.901, allocations: 278.8 kB / 2.505 GB, free: 96.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.976e-05/7.901, allocations: 7.75 kB / 2.505 GB, free: 96.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/7.905, allocations: 166.8 kB / 2.506 GB, free: 96.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005644/7.905, allocations: 59.88 kB / 2.506 GB, free: 96.53 MB / 0.948 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.0006626/7.906, allocations: 137.6 kB / 2.506 GB, free: 96.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007008/7.907, allocations: 175.9 kB / 2.506 GB, free: 96.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/7.911, allocations: 1.048 MB / 2.507 GB, free: 96.23 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/7.911, allocations: 9.047 kB / 2.507 GB, free: 96.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/7.911, allocations: 3.312 kB / 2.507 GB, free: 96.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/7.911, allocations: 2.391 kB / 2.507 GB, free: 96.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007063/7.918, allocations: 2.211 MB / 2.509 GB, free: 95.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/7.918, allocations: 1.969 kB / 2.509 GB, free: 95.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/7.92, allocations: 137 kB / 2.509 GB, free: 95.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.742e-05/7.921, allocations: 8.766 kB / 2.509 GB, free: 95.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/7.921, allocations: 10.19 kB / 2.509 GB, free: 95.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.711e-05/7.921, allocations: 4.5 kB / 2.509 GB, free: 95.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-05/7.921, allocations: 6.438 kB / 2.509 GB, free: 95.86 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005222/7.926, allocations: 1.092 MB / 2.51 GB, free: 95.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005329/7.931, allocations: 1.583 MB / 2.512 GB, free: 94.58 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/7.934, allocations: 344.2 kB / 2.512 GB, free: 94.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007281/7.934, allocations: 6.094 kB / 2.512 GB, free: 94.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004499/7.939, allocations: 110 kB / 2.512 GB, free: 94.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/7.939, allocations: 44.44 kB / 2.512 GB, free: 94.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.37e-05/7.939, allocations: 28.36 kB / 2.512 GB, free: 94.37 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002398/7.942, allocations: 0.9353 MB / 2.513 GB, free: 94.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009562/7.951, allocations: 1.25 MB / 2.515 GB, free: 94.1 MB / 0.948 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.003612/7.955, allocations: 1.009 MB / 2.516 GB, free: 93.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00722/7.962, allocations: 1.579 MB / 2.517 GB, free: 93.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/7.962, allocations: 0 / 2.517 GB, free: 93.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/7.963, allocations: 386.8 kB / 2.517 GB, free: 93.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/7.974, allocations: 0.9087 MB / 2.518 GB, free: 93.78 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009043/7.983, allocations: 2.241 MB / 2.521 GB, free: 93.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002574/7.985, allocations: 1.603 MB / 2.522 GB, free: 92.35 MB / 0.948 GB Notification: Performance of SimCode: time 1.413e-06/7.985, allocations: 0 / 2.522 GB, free: 92.35 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)