Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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/BuildSysPro 3.5.0/package.mo): time 0.7087/0.7087, allocations: 127.4 MB / 134.6 MB, free: 4.105 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 181.3 kB / 164.4 MB, free: 6.902 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.1 MB / 399.1 MB, free: 6.18 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009886/0.0009887, allocations: 80.7 kB / 476.3 MB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3683/0.3693, allocations: 82.9 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.5802, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.806, allocations: 357.9 MB / 0.9705 GB, free: 123.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/1.806, allocations: 96.81 kB / 0.9706 GB, free: 123.9 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 1.676/3.482, allocations: 399.7 MB / 1.361 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/3.482, allocations: 7.625 kB / 1.361 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/3.482, allocations: 97.67 kB / 1.361 GB, free: 112.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/3.483, allocations: 0.5657 MB / 1.362 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/3.483, allocations: 14.78 kB / 1.362 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/3.483, allocations: 39.92 kB / 1.362 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004827/3.484, allocations: 228.8 kB / 1.362 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005608/3.485, allocations: 309.2 kB / 1.362 GB, free: 112.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/3.485, allocations: 3.906 kB / 1.362 GB, free: 112.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/3.485, allocations: 0 / 1.362 GB, free: 112.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/3.485, allocations: 13.5 kB / 1.362 GB, free: 112.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/3.487, allocations: 2.064 MB / 1.364 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/3.488, allocations: 134.9 kB / 1.364 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/3.488, allocations: 41.08 kB / 1.364 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/3.488, allocations: 3.688 kB / 1.364 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/3.488, allocations: 37.56 kB / 1.364 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/3.488, allocations: 0 / 1.364 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.001239/3.489, allocations: 283.6 kB / 1.365 GB, free: 110.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/3.489, allocations: 51.41 kB / 1.365 GB, free: 110.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/3.49, allocations: 491.9 kB / 1.365 GB, free: 110.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/3.49, allocations: 29.42 kB / 1.365 GB, free: 110.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/3.49, allocations: 285.8 kB / 1.365 GB, free: 110.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/3.49, allocations: 42.2 kB / 1.365 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/3.49, allocations: 0 / 1.365 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000148/3.49, allocations: 371.5 kB / 1.366 GB, free: 110 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/3.49, allocations: 93.12 kB / 1.366 GB, free: 110 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/3.491, allocations: 202.2 kB / 1.366 GB, free: 109.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/3.491, allocations: 115.6 kB / 1.366 GB, free: 109.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/3.491, allocations: 0 / 1.366 GB, free: 109.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006386/3.492, allocations: 354.8 kB / 1.367 GB, free: 109.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/3.492, allocations: 264.9 kB / 1.367 GB, free: 109.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/3.492, allocations: 3.969 kB / 1.367 GB, free: 109.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/3.492, allocations: 3.562 kB / 1.367 GB, free: 109.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/3.495, allocations: 484.8 kB / 1.367 GB, free: 109.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/3.498, allocations: 2.661 MB / 1.37 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009458/3.499, allocations: 109.1 kB / 1.37 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/3.499, allocations: 17.55 kB / 1.37 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/3.499, allocations: 3.906 kB / 1.37 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004827/3.5, allocations: 213.1 kB / 1.37 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/3.5, allocations: 0 / 1.37 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.042e-06/3.5, allocations: 3.062 kB / 1.37 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/3.5, allocations: 102.3 kB / 1.37 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/3.5, allocations: 2.812 kB / 1.37 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/3.501, allocations: 63.86 kB / 1.37 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/3.501, allocations: 17.91 kB / 1.37 GB, free: 107.2 MB / 0.6355 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/3.501, allocations: 113.9 kB / 1.371 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/3.501, allocations: 62.06 kB / 1.371 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/3.501, allocations: 49.33 kB / 1.371 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/3.501, allocations: 3.125 kB / 1.371 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/3.501, allocations: 0 / 1.371 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/3.501, allocations: 2.688 kB / 1.371 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/3.502, allocations: 433.6 kB / 1.371 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/3.502, allocations: 0 / 1.371 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003216/3.505, allocations: 473.7 kB / 1.371 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/3.505, allocations: 6.875 kB / 1.372 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/3.505, allocations: 0 / 1.372 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007604/3.513, allocations: 5.605 MB / 1.377 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/3.513, allocations: 3 kB / 1.377 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004996/3.513, allocations: 280.1 kB / 1.377 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006/3.514, allocations: 0.6891 MB / 1.378 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/3.514, allocations: 148.8 kB / 1.378 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.631e-05/3.514, allocations: 0 / 1.378 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/3.515, allocations: 60.52 kB / 1.378 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/3.515, allocations: 9.562 kB / 1.378 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/3.515, allocations: 8.469 kB / 1.378 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005448/3.516, allocations: 368.8 kB / 1.378 GB, free: 101 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002817/3.519, allocations: 491.1 kB / 1.379 GB, free: 100.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009964/3.52, allocations: 484.6 kB / 1.379 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005139/3.525, allocations: 0.8756 MB / 1.38 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/3.525, allocations: 0 / 1.38 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004223/3.529, allocations: 0.6316 MB / 1.381 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/3.531, allocations: 274.9 kB / 1.381 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/3.533, allocations: 0.7294 MB / 1.382 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/3.533, allocations: 0.9771 MB / 1.383 GB, free: 99.87 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/3.533, allocations: 0 / 1.383 GB, free: 99.87 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)