Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000802/0.000802, allocations: 96.95 kB / 16.33 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008175/0.0008176, allocations: 188.1 kB / 17.23 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 241.2 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7098/0.7098, allocations: 114.4 MB / 406.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004196, allocations: 8 kB / 494.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.193, allocations: 77.26 MB / 0.5583 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.4197/0.6128, allocations: 27.37 MB / 0.585 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.6277, allocations: 7.66 MB / 0.5925 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.6296, allocations: 27.28 kB / 0.5925 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.6309, allocations: 307.6 kB / 0.5928 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005058/0.636, allocations: 1.082 MB / 0.5939 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004184/0.6402, allocations: 0.9628 MB / 0.5948 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007202/0.6474, allocations: 3.528 MB / 0.5983 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00341/0.6509, allocations: 1.088 MB / 0.5993 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004604/0.6555, allocations: 1.457 MB / 0.6008 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004529/0.66, allocations: 1.555 MB / 0.6023 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007401/0.6608, allocations: 66.73 kB / 0.6024 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.6642, allocations: 0.865 MB / 0.6032 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005865/0.6648, allocations: 328.5 kB / 0.6035 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009503/0.6657, allocations: 250.4 kB / 0.6037 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002721/0.6685, allocations: 1.531 MB / 0.6052 GB, free: 9.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.6685, allocations: 0 / 0.6052 GB, free: 9.879 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.6685, allocations: 5.562 kB / 0.6052 GB, free: 9.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.582e-05/0.6685, allocations: 0 / 0.6052 GB, free: 9.875 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003049/0.6716, allocations: 1.351 MB / 0.6066 GB, free: 25.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.6716, allocations: 9.656 kB / 0.6066 GB, free: 25.06 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/0.672, allocations: 149 kB / 0.6067 GB, free: 25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.6737, allocations: 0.8547 MB / 0.6076 GB, free: 24.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.237e-05/0.6738, allocations: 82.44 kB / 0.6076 GB, free: 24.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.674, allocations: 120.8 kB / 0.6077 GB, free: 24.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.6752, allocations: 0.6358 MB / 0.6084 GB, free: 24.53 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.6752, allocations: 8.906 kB / 0.6084 GB, free: 24.53 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/0.6753, allocations: 24.19 kB / 0.6084 GB, free: 24.53 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.6753, allocations: 13.75 kB / 0.6084 GB, free: 24.53 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009449/0.6763, allocations: 472.1 kB / 0.6089 GB, free: 24.51 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/0.681, allocations: 2.892 MB / 0.6117 GB, free: 22.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/0.6817, allocations: 308 kB / 0.612 GB, free: 22.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.682, allocations: 156.7 kB / 0.6121 GB, free: 22.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.6823, allocations: 344.7 kB / 0.6125 GB, free: 22.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.6823, allocations: 33.06 kB / 0.6125 GB, free: 22.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.6823, allocations: 0 / 0.6125 GB, free: 22.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001419/0.6838, allocations: 0.5479 MB / 0.613 GB, free: 21.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.6838, allocations: 54.38 kB / 0.6131 GB, free: 21.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.685, allocations: 0.8978 MB / 0.614 GB, free: 21.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.6851, allocations: 57.83 kB / 0.614 GB, free: 21.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/0.6856, allocations: 0.5401 MB / 0.6145 GB, free: 20.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.637e-05/0.6857, allocations: 106.8 kB / 0.6146 GB, free: 20.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.6857, allocations: 10.31 kB / 0.6146 GB, free: 20.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6859, allocations: 338.7 kB / 0.615 GB, free: 20.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.6863, allocations: 173.9 kB / 0.6151 GB, free: 20.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.6875, allocations: 1.146 MB / 0.6163 GB, free: 19.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.6881, allocations: 307.6 kB / 0.6165 GB, free: 18.99 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6881, allocations: 0 / 0.6165 GB, free: 18.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001299/0.6894, allocations: 0.6426 MB / 0.6172 GB, free: 18.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.59e-05/0.6895, allocations: 148.4 kB / 0.6173 GB, free: 18.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6895, allocations: 2.188 kB / 0.6173 GB, free: 18.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.6895, allocations: 5.688 kB / 0.6173 GB, free: 18.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.6909, allocations: 239 kB / 0.6176 GB, free: 18.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.6927, allocations: 2.962 MB / 0.6204 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003491/0.6962, allocations: 0.7527 MB / 0.6212 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.6963, allocations: 31.17 kB / 0.6212 GB, free: 15.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6964, allocations: 2.75 kB / 0.6212 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/0.6974, allocations: 0.4936 MB / 0.6217 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6975, allocations: 3.688 kB / 0.6217 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.6975, allocations: 4.344 kB / 0.6217 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.6981, allocations: 161.1 kB / 0.6219 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.6982, allocations: 17.44 kB / 0.6219 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/0.7016, allocations: 0.7264 MB / 0.6226 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.465e-05/0.7017, allocations: 25.95 kB / 0.6226 GB, free: 14.51 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008911/0.7026, allocations: 330.1 kB / 0.6229 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.7029, allocations: 94.5 kB / 0.623 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.7041, allocations: 0.543 MB / 0.6235 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.7042, allocations: 4.344 kB / 0.6235 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7042, allocations: 3.953 kB / 0.6236 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.7042, allocations: 0.8125 kB / 0.6236 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.7064, allocations: 1.274 MB / 0.6248 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.7064, allocations: 0.9062 kB / 0.6248 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/0.7069, allocations: 116.7 kB / 0.6249 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.707, allocations: 7.641 kB / 0.6249 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.707, allocations: 7.406 kB / 0.6249 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.7089, allocations: 2.948 MB / 0.6278 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.7089, allocations: 1.75 kB / 0.6278 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/0.7097, allocations: 0.5694 MB / 0.6284 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/0.7102, allocations: 228.1 kB / 0.6286 GB, free: 9.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.7103, allocations: 7.344 kB / 0.6286 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.7108, allocations: 69.58 kB / 0.6287 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.7109, allocations: 27.05 kB / 0.6287 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.711, allocations: 20.81 kB / 0.6287 GB, free: 9.305 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009282/0.7119, allocations: 0.5966 MB / 0.6293 GB, free: 8.957 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7119, allocations: 0 / 0.6293 GB, free: 8.957 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002411/0.7143, allocations: 0.5378 MB / 0.6298 GB, free: 8.84 MB / 462.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007971/0.7152, allocations: 339.1 kB / 0.6301 GB, free: 8.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00274/0.7179, allocations: 0.8329 MB / 0.6309 GB, free: 8.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.7179, allocations: 4 kB / 0.6309 GB, free: 8.336 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.7185, allocations: 224.8 kB / 0.6312 GB, free: 8.254 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.7208, allocations: 488.5 kB / 0.6316 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.7236, allocations: 1.858 MB / 0.6334 GB, free: 6.762 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006111/0.7243, allocations: 1.017 MB / 0.6344 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.7245, allocations: 88.22 kB / 0.6345 GB, free: 5.895 MB / 462.1 MB Notification: Performance of SimCode: time 1.193e-06/0.7245, allocations: 0 / 0.6345 GB, free: 5.895 MB / 462.1 MB Notification: Performance of Templates: time 0.05072/0.7752, allocations: 36.28 MB / 0.6699 GB, free: 2.754 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.o] Error 1