Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008092/0.0008091, allocations: 92.16 kB / 16.02 MB, free: 76 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.0008894/0.0008896, allocations: 182.9 kB / 16.92 MB, free: 6.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.334/1.334, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7071/0.7071, allocations: 132.3 MB / 424.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003005, allocations: 12.72 kB / 0.5046 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4179, allocations: 81.59 MB / 0.5843 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02249/0.4404, allocations: 21.61 MB / 0.6054 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007706/0.4482, allocations: 5.19 MB / 0.6105 GB, free: 292 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009249/0.4491, allocations: 17.75 kB / 0.6105 GB, free: 284 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008778/0.45, allocations: 250.5 kB / 0.6107 GB, free: 72 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.4525, allocations: 0.8024 MB / 0.6115 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.4543, allocations: 0.6448 MB / 0.6121 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002405/0.4567, allocations: 1.865 MB / 0.614 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008892/0.4576, allocations: 440.7 kB / 0.6144 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.4591, allocations: 0.5536 MB / 0.6149 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007604/0.4599, allocations: 465.4 kB / 0.6154 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.519e-05/0.46, allocations: 19.41 kB / 0.6154 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.4614, allocations: 0.5823 MB / 0.616 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.4616, allocations: 115.5 kB / 0.6161 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.462, allocations: 349.4 kB / 0.6164 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009367/0.4629, allocations: 0.7625 MB / 0.6171 GB, free: 11.9 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4629, allocations: 4 kB / 0.6172 GB, free: 11.9 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.4629, allocations: 1.062 kB / 0.6172 GB, free: 11.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.463, allocations: 3.938 kB / 0.6172 GB, free: 11.89 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001664/0.4646, allocations: 0.935 MB / 0.6181 GB, free: 11.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4647, allocations: 10.03 kB / 0.6181 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.4648, allocations: 78.97 kB / 0.6182 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008253/0.4656, allocations: 0.563 MB / 0.6187 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.4657, allocations: 29.41 kB / 0.6187 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.4658, allocations: 38.62 kB / 0.6188 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006279/0.4664, allocations: 316.6 kB / 0.6191 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4664, allocations: 0 / 0.6191 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.4665, allocations: 10.22 kB / 0.6191 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.4665, allocations: 12.59 kB / 0.6191 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.4671, allocations: 265 kB / 0.6193 GB, free: 10.26 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.002529/0.4696, allocations: 1.59 MB / 0.6209 GB, free: 8.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.47, allocations: 186.8 kB / 0.6211 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.4702, allocations: 101.5 kB / 0.6212 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003652/0.4706, allocations: 423.3 kB / 0.6216 GB, free: 8.273 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.4706, allocations: 35.98 kB / 0.6216 GB, free: 8.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.773e-06/0.4707, allocations: 0 / 0.6216 GB, free: 8.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008115/0.4715, allocations: 345.3 kB / 0.6219 GB, free: 8.059 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.4715, allocations: 53.31 kB / 0.622 GB, free: 7.996 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008252/0.4724, allocations: 0.6474 MB / 0.6226 GB, free: 7.609 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.4724, allocations: 35.58 kB / 0.6227 GB, free: 7.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.4726, allocations: 303.8 kB / 0.6229 GB, free: 7.301 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.4727, allocations: 63.59 kB / 0.623 GB, free: 7.246 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.4728, allocations: 50.84 kB / 0.6231 GB, free: 7.207 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.473, allocations: 376.5 kB / 0.6234 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.4733, allocations: 137.2 kB / 0.6235 GB, free: 6.777 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.4736, allocations: 218.4 kB / 0.6238 GB, free: 6.633 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.4742, allocations: 299.5 kB / 0.624 GB, free: 6.461 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4742, allocations: 0 / 0.624 GB, free: 6.461 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008512/0.4751, allocations: 455.1 kB / 0.6245 GB, free: 6.238 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.712e-05/0.4752, allocations: 123.7 kB / 0.6246 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.4752, allocations: 12.84 kB / 0.6246 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4752, allocations: 3.281 kB / 0.6246 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008347/0.4761, allocations: 149.8 kB / 0.6248 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006895/0.4768, allocations: 1.189 MB / 0.6259 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/0.4773, allocations: 67.97 kB / 0.626 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.4774, allocations: 20.77 kB / 0.626 GB, free: 4.797 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.4774, allocations: 6.312 kB / 0.626 GB, free: 4.797 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007268/0.4781, allocations: 373.8 kB / 0.6264 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.4781, allocations: 1.969 kB / 0.6264 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.4781, allocations: 2.562 kB / 0.6264 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.4786, allocations: 115 kB / 0.6265 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.4786, allocations: 7.438 kB / 0.6265 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.4791, allocations: 59.16 kB / 0.6265 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.4791, allocations: 20.61 kB / 0.6266 GB, free: 4.551 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002986/0.4794, allocations: 261.2 kB / 0.6268 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/0.4795, allocations: 67.19 kB / 0.6269 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007057/0.4802, allocations: 330.6 kB / 0.6272 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.4802, allocations: 4 kB / 0.6272 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4803, allocations: 0 / 0.6272 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4803, allocations: 0 / 0.6272 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.4816, allocations: 0.9149 MB / 0.6281 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4816, allocations: 4 kB / 0.6281 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.4819, allocations: 63.89 kB / 0.6281 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4819, allocations: 7.984 kB / 0.6282 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.482, allocations: 8 kB / 0.6282 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006366/0.4826, allocations: 1.176 MB / 0.6293 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4826, allocations: 4.031 kB / 0.6293 GB, free: 1.617 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.4834, allocations: 0.5331 MB / 0.6298 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.4837, allocations: 184.2 kB / 0.63 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.4837, allocations: 11.94 kB / 0.63 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.4841, allocations: 24.03 kB / 0.63 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.4841, allocations: 23.97 kB / 0.6301 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4842, allocations: 4 kB / 0.6301 GB, free: 0.793 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000546/0.4847, allocations: 451 kB / 0.6305 GB, free: 364 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.715e-06/0.4847, allocations: 0 / 0.6305 GB, free: 364 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008848/0.4856, allocations: 307.3 kB / 0.6308 GB, free: 56 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005486/0.4862, allocations: 253.9 kB / 0.631 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.4875, allocations: 0.5282 MB / 0.6316 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4875, allocations: 0 / 0.6316 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.4878, allocations: 140.3 kB / 0.6317 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.4894, allocations: 298.4 kB / 0.632 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.4911, allocations: 1.27 MB / 0.6332 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.4916, allocations: 0.8941 MB / 0.6341 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.4917, allocations: 47.42 kB / 0.6341 GB, free: 12.58 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4917, allocations: 0 / 0.6341 GB, free: 12.58 MB / 478.1 MB Notification: Performance of Templates: time 0.01757/0.5093, allocations: 14.87 MB / 0.6487 GB, free: 13.81 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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.TwoWayValveTRVCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRVCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRVCalcHelperMain.o] Error 1