Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008574/0.0008577, allocations: 102.5 kB / 15.71 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001292, allocations: 173.4 kB / 16.58 MB, free: 6.074 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.425/1.425, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7942/0.7942, allocations: 132.3 MB / 424 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 12.81 kB / 0.504 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5296/0.5299, allocations: 81.58 MB / 0.5837 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.0317/0.5617, allocations: 27.4 MB / 0.6104 GB, free: 204 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.016/0.5777, allocations: 7.664 MB / 0.6179 GB, free: 9.957 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.5801, allocations: 24.69 kB / 0.6179 GB, free: 9.945 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.5814, allocations: 304.2 kB / 0.6182 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003966/0.5854, allocations: 1.082 MB / 0.6193 GB, free: 8.824 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.5884, allocations: 0.9731 MB / 0.6202 GB, free: 8.152 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005239/0.5936, allocations: 3.529 MB / 0.6237 GB, free: 6.031 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.5958, allocations: 1.082 MB / 0.6247 GB, free: 5.332 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.5995, allocations: 1.463 MB / 0.6262 GB, free: 4.645 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003685/0.6032, allocations: 1.565 MB / 0.6277 GB, free: 3.555 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004591/0.6036, allocations: 64 kB / 0.6278 GB, free: 3.492 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.6063, allocations: 0.8617 MB / 0.6286 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004713/0.6067, allocations: 326.8 kB / 0.6289 GB, free: 2.309 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005867/0.6073, allocations: 253.1 kB / 0.6292 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.6093, allocations: 1.534 MB / 0.6307 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6093, allocations: 0 / 0.6307 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6093, allocations: 4 kB / 0.6307 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.6093, allocations: 0 / 0.6307 GB, free: 0.5156 MB / 462.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.002288/0.6116, allocations: 1.34 MB / 0.632 GB, free: 15.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.6117, allocations: 12.03 kB / 0.632 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.612, allocations: 154.3 kB / 0.6321 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.6135, allocations: 0.8564 MB / 0.633 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/0.6135, allocations: 77.31 kB / 0.633 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.6138, allocations: 124 kB / 0.6332 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6148, allocations: 0.6356 MB / 0.6338 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.6149, allocations: 4 kB / 0.6338 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/0.6149, allocations: 28 kB / 0.6338 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.6149, allocations: 12 kB / 0.6338 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.6158, allocations: 472.8 kB / 0.6343 GB, free: 12.68 MB / 478.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.004274/0.6201, allocations: 2.879 MB / 0.6371 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000573/0.6207, allocations: 311.7 kB / 0.6374 GB, free: 9.332 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.621, allocations: 157.3 kB / 0.6375 GB, free: 9.176 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000345/0.6213, allocations: 340.7 kB / 0.6378 GB, free: 8.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.6214, allocations: 38.84 kB / 0.6379 GB, free: 8.723 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.6214, allocations: 0 / 0.6379 GB, free: 8.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001229/0.6226, allocations: 0.5489 MB / 0.6384 GB, free: 8.168 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.6227, allocations: 55.36 kB / 0.6385 GB, free: 8.102 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.6237, allocations: 0.8958 MB / 0.6393 GB, free: 7.188 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.6238, allocations: 53.7 kB / 0.6394 GB, free: 7.129 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005015/0.6244, allocations: 0.5499 MB / 0.6399 GB, free: 6.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.983e-05/0.6245, allocations: 106.4 kB / 0.64 GB, free: 6.465 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.6245, allocations: 12 kB / 0.64 GB, free: 6.453 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6246, allocations: 326 kB / 0.6404 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.625, allocations: 185.2 kB / 0.6405 GB, free: 5.949 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.6264, allocations: 1.139 MB / 0.6416 GB, free: 4.449 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.6269, allocations: 310.8 kB / 0.6419 GB, free: 4.145 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6269, allocations: 0 / 0.6419 GB, free: 4.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001199/0.6281, allocations: 0.6461 MB / 0.6426 GB, free: 3.492 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.6282, allocations: 152.3 kB / 0.6427 GB, free: 3.316 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6283, allocations: 3.984 kB / 0.6427 GB, free: 3.312 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6283, allocations: 8 kB / 0.6427 GB, free: 3.305 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.6296, allocations: 239.7 kB / 0.643 GB, free: 3.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.6314, allocations: 2.95 MB / 0.6458 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/0.6344, allocations: 0.7535 MB / 0.6466 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/0.6344, allocations: 35.92 kB / 0.6466 GB, free: 15.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.6345, allocations: 4 kB / 0.6466 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009667/0.6354, allocations: 0.4933 MB / 0.6471 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.6354, allocations: 0 / 0.6471 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.6355, allocations: 8 kB / 0.6471 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.6361, allocations: 163.7 kB / 0.6473 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.6361, allocations: 12.12 kB / 0.6473 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/0.6389, allocations: 0.7378 MB / 0.648 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.639, allocations: 24 kB / 0.648 GB, free: 13.77 MB / 494.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.0005671/0.6396, allocations: 337.7 kB / 0.6483 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.6397, allocations: 94.78 kB / 0.6484 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.6408, allocations: 0.5165 MB / 0.6489 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.6408, allocations: 4 kB / 0.6489 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6408, allocations: 0 / 0.6489 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.6408, allocations: 7.984 kB / 0.6489 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.6427, allocations: 1.272 MB / 0.6502 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6428, allocations: 0 / 0.6502 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.6432, allocations: 119.8 kB / 0.6503 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.6433, allocations: 4 kB / 0.6503 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.6433, allocations: 12 kB / 0.6503 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.6447, allocations: 2.946 MB / 0.6532 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6448, allocations: 0 / 0.6532 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.6456, allocations: 0.5815 MB / 0.6538 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.6459, allocations: 223.6 kB / 0.654 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.502e-05/0.646, allocations: 8 kB / 0.654 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.6465, allocations: 68.05 kB / 0.654 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.6466, allocations: 27.97 kB / 0.6541 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.6466, allocations: 11.98 kB / 0.6541 GB, free: 7.309 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007097/0.6473, allocations: 0.6006 MB / 0.6547 GB, free: 6.699 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6473, allocations: 4 kB / 0.6547 GB, free: 6.695 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001538/0.6489, allocations: 0.5342 MB / 0.6552 GB, free: 6.16 MB / 494.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.0006888/0.6496, allocations: 330.6 kB / 0.6555 GB, free: 5.844 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002383/0.652, allocations: 0.844 MB / 0.6563 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.652, allocations: 4 kB / 0.6563 GB, free: 5.004 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005921/0.6526, allocations: 235.7 kB / 0.6566 GB, free: 4.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.6547, allocations: 481.4 kB / 0.657 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.6576, allocations: 1.848 MB / 0.6588 GB, free: 2.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006198/0.6583, allocations: 1.021 MB / 0.6598 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.6585, allocations: 83.42 kB / 0.6599 GB, free: 1.277 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6585, allocations: 0 / 0.6599 GB, free: 1.277 MB / 494.1 MB Notification: Performance of Templates: time 0.04884/0.7073, allocations: 36.28 MB / 0.6953 GB, free: 13.25 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.o] Error 1