Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005912/0.005912, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001172/0.001172, allocations: 196.3 kB / 16.79 MB, free: 6.254 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.289/1.289, allocations: 222.9 MB / 240.5 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7026/0.7026, allocations: 132.2 MB / 422.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 59.66 kB / 0.5017 GB, free: 4.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4558, allocations: 80.2 MB / 0.58 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2065/0.6623, allocations: 191.6 MB / 0.7671 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008467/0.6708, allocations: 5.191 MB / 0.7722 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.672, allocations: 43.69 kB / 0.7722 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.6738, allocations: 0.7077 MB / 0.7729 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005748/0.6796, allocations: 2.452 MB / 0.7753 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.682, allocations: 0.9961 MB / 0.7763 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003699/0.6857, allocations: 3.549 MB / 0.7797 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.687, allocations: 0.8248 MB / 0.7805 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.689, allocations: 0.9959 MB / 0.7815 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.6904, allocations: 0.9884 MB / 0.7825 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.6905, allocations: 48 kB / 0.7825 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003888/0.6944, allocations: 2.073 MB / 0.7845 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004809/0.695, allocations: 414.6 kB / 0.7849 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007871/0.6957, allocations: 0.6136 MB / 0.7855 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.6982, allocations: 1.509 MB / 0.787 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6982, allocations: 0 / 0.787 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of FrontEnd: time 8.42e-07/0.6982, allocations: 0 / 0.787 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.6982, allocations: 0 / 0.787 GB, free: 13.13 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005632/0.7039, allocations: 1.934 MB / 0.7889 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/0.7039, allocations: 12.03 kB / 0.7889 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/0.7078, allocations: 0.6576 MB / 0.7895 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.7093, allocations: 0.8824 MB / 0.7904 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.7094, allocations: 69.98 kB / 0.7905 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.7096, allocations: 88 kB / 0.7906 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/0.7127, allocations: 1.47 MB / 0.792 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.7128, allocations: 0 / 0.792 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.7129, allocations: 43.98 kB / 0.792 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/0.7129, allocations: 53.86 kB / 0.7921 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003944/0.7169, allocations: 1.514 MB / 0.7936 GB, free: 6.211 MB / 0.6231 GB 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.007543/0.7244, allocations: 5.479 MB / 0.7989 GB, free: 464 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003475/0.7279, allocations: 1.284 MB / 0.8002 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.7295, allocations: 0.6636 MB / 0.8008 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008856/0.7304, allocations: 0.5773 MB / 0.8014 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.7322, allocations: 0.7107 MB / 0.8021 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 3.236e-06/0.7322, allocations: 0 / 0.8021 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.005359/0.7376, allocations: 1.878 MB / 0.8039 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.7377, allocations: 60.06 kB / 0.804 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.7392, allocations: 1.239 MB / 0.8052 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.7394, allocations: 49.7 kB / 0.8052 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000455/0.7398, allocations: 0.5791 MB / 0.8058 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.7401, allocations: 280.1 kB / 0.8061 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.7404, allocations: 190.5 kB / 0.8062 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7406, allocations: 338 kB / 0.8066 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.7421, allocations: 0.5405 MB / 0.8071 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.7439, allocations: 0.8213 MB / 0.8079 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/0.747, allocations: 1.321 MB / 0.8092 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.7471, allocations: 0 / 0.8092 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003788/0.7509, allocations: 1.503 MB / 0.8106 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.7509, allocations: 8 kB / 0.8107 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.7509, allocations: 8 kB / 0.8107 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.7509, allocations: 12 kB / 0.8107 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.7523, allocations: 296 kB / 0.811 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.7523, allocations: 19.92 kB / 0.811 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.7538, allocations: 214.7 kB / 0.8112 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.991e-05/0.7539, allocations: 47.98 kB / 0.8112 GB, free: 3.445 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005607/0.7544, allocations: 339.6 kB / 0.8116 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.7547, allocations: 134.3 kB / 0.8117 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.7583, allocations: 1.416 MB / 0.8131 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.7583, allocations: 8 kB / 0.8131 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7583, allocations: 0 / 0.8131 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.7583, allocations: 3.984 kB / 0.8131 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3452/1.104, allocations: 2.793 MB / 0.8158 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.104, allocations: 7.781 kB / 0.8158 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/1.105, allocations: 222.3 kB / 0.816 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-05/1.105, allocations: 6.812 kB / 0.816 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-05/1.105, allocations: 31.56 kB / 0.8161 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.498e-05/1.105, allocations: 9.547 kB / 0.8161 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/1.105, allocations: 8.25 kB / 0.8161 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005903/1.111, allocations: 2.248 MB / 0.8183 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005782/1.112, allocations: 294.5 kB / 0.8186 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/1.112, allocations: 21.86 kB / 0.8186 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.113, allocations: 128.8 kB / 0.8187 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/1.113, allocations: 62.44 kB / 0.8188 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-05/1.113, allocations: 39.97 kB / 0.8188 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001376/1.115, allocations: 0.8515 MB / 0.8196 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/1.115, allocations: 0 / 0.8196 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001506/1.116, allocations: 314 kB / 0.8199 GB, free: 218.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001377/1.117, allocations: 0.5327 MB / 0.8204 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004118/1.122, allocations: 1.28 MB / 0.8217 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.122, allocations: 1.125 kB / 0.8217 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002197/1.124, allocations: 0.6427 MB / 0.8223 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/1.127, allocations: 0.5712 MB / 0.8229 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005485/1.133, allocations: 3.042 MB / 0.8259 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/1.133, allocations: 1.173 MB / 0.827 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000542/1.134, allocations: 125.2 kB / 0.8271 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.613e-06/1.134, allocations: 0 / 0.8271 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.03391/1.168, allocations: 20.35 MB / 0.847 GB, free: 205.2 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.o] Error 1