Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005919/0.005918, allocations: 100.2 kB / 15.87 MB, free: 6.297 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.001243/0.001243, allocations: 200.6 kB / 16.79 MB, free: 6.223 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7332/0.7332, allocations: 132.2 MB / 422.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 63.91 kB / 0.5017 GB, free: 9.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1657, allocations: 80.21 MB / 0.58 GB, free: 9.262 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.556/0.7218, allocations: 191.5 MB / 0.7671 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008741/0.7306, allocations: 5.182 MB / 0.7721 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.7322, allocations: 47.62 kB / 0.7722 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.7342, allocations: 0.7116 MB / 0.7729 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006339/0.7406, allocations: 2.451 MB / 0.7753 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.7434, allocations: 1.002 MB / 0.7763 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004195/0.7476, allocations: 3.617 MB / 0.7798 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.7489, allocations: 0.8689 MB / 0.7806 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.7509, allocations: 1.015 MB / 0.7816 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.7522, allocations: 1.031 MB / 0.7826 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.7524, allocations: 56 kB / 0.7827 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003764/0.7562, allocations: 2.073 MB / 0.7847 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004435/0.7566, allocations: 422.6 kB / 0.7851 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007058/0.7573, allocations: 0.6408 MB / 0.7857 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.7594, allocations: 1.536 MB / 0.7872 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7594, allocations: 0 / 0.7872 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7594, allocations: 4 kB / 0.7872 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.7594, allocations: 3.938 kB / 0.7872 GB, free: 15.14 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004928/0.7644, allocations: 1.959 MB / 0.7892 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.7644, allocations: 8.031 kB / 0.7892 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/0.7698, allocations: 0.8994 MB / 0.79 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.7714, allocations: 0.902 MB / 0.7909 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/0.7714, allocations: 77.97 kB / 0.791 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.7716, allocations: 91.94 kB / 0.7911 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.7753, allocations: 1.583 MB / 0.7926 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.7753, allocations: 3.938 kB / 0.7926 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.7754, allocations: 32 kB / 0.7927 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.578e-05/0.7755, allocations: 49.98 kB / 0.7927 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005039/0.7805, allocations: 1.846 MB / 0.7945 GB, free: 7.543 MB / 0.6075 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.00733/0.7879, allocations: 4.736 MB / 0.7991 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/0.7921, allocations: 1.576 MB / 0.8007 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00211/0.7942, allocations: 0.8439 MB / 0.8015 GB, free: 168 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/0.7954, allocations: 0.9491 MB / 0.8024 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00236/0.7978, allocations: 0.9188 MB / 0.8033 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 2.955e-06/0.7978, allocations: 0 / 0.8033 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007311/0.8052, allocations: 2.446 MB / 0.8057 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.8052, allocations: 64.41 kB / 0.8058 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.8067, allocations: 1.193 MB / 0.8069 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.8068, allocations: 49.7 kB / 0.807 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.8073, allocations: 0.5409 MB / 0.8075 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.8076, allocations: 327.3 kB / 0.8078 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003589/0.8079, allocations: 194.5 kB / 0.808 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.8081, allocations: 341.9 kB / 0.8083 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002116/0.8102, allocations: 0.7045 MB / 0.809 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/0.8125, allocations: 0.9027 MB / 0.8099 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.8166, allocations: 1.561 MB / 0.8114 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.8166, allocations: 4 kB / 0.8114 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004836/0.8214, allocations: 1.78 MB / 0.8132 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.8215, allocations: 4 kB / 0.8132 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.8215, allocations: 7.984 kB / 0.8132 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.8215, allocations: 12 kB / 0.8132 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.8232, allocations: 331.6 kB / 0.8135 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.8232, allocations: 11.94 kB / 0.8135 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.8249, allocations: 258.7 kB / 0.8138 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.825, allocations: 47.97 kB / 0.8138 GB, free: 3.164 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005637/0.8256, allocations: 339.7 kB / 0.8142 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.8258, allocations: 134.3 kB / 0.8143 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.8307, allocations: 1.803 MB / 0.816 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.8307, allocations: 15.88 kB / 0.8161 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8307, allocations: 0 / 0.8161 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.8307, allocations: 3.984 kB / 0.8161 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006767/0.8375, allocations: 3.332 MB / 0.8193 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.8375, allocations: 4 kB / 0.8193 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.8392, allocations: 292.1 kB / 0.8196 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.8392, allocations: 8.875 kB / 0.8196 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.687e-05/0.8393, allocations: 31.97 kB / 0.8196 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.8393, allocations: 11.94 kB / 0.8196 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8393, allocations: 4 kB / 0.8197 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/0.8461, allocations: 2.851 MB / 0.8224 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006614/0.8468, allocations: 319.2 kB / 0.8227 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.847, allocations: 25.36 kB / 0.8228 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.8484, allocations: 175.7 kB / 0.8229 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.8486, allocations: 64.45 kB / 0.823 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.065e-05/0.8487, allocations: 43.97 kB / 0.823 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009609/0.8497, allocations: 0.8353 MB / 0.8238 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8497, allocations: 0 / 0.8238 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00104/0.8507, allocations: 343.6 kB / 0.8242 GB, free: 8.359 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.001216/0.8519, allocations: 0.5367 MB / 0.8247 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004483/0.8564, allocations: 1.615 MB / 0.8263 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.8564, allocations: 0 / 0.8263 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.8587, allocations: 0.8438 MB / 0.8271 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.8614, allocations: 0.5896 MB / 0.8277 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005955/0.8674, allocations: 3.463 MB / 0.8311 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/0.8681, allocations: 1.179 MB / 0.8322 GB, free: 236 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/0.8687, allocations: 131.3 kB / 0.8323 GB, free: 104 kB / 0.6387 GB Notification: Performance of SimCode: time 7.11e-07/0.8687, allocations: 0 / 0.8323 GB, free: 104 kB / 0.6387 GB Notification: Performance of Templates: time 0.03042/0.8991, allocations: 21.58 MB / 0.8534 GB, free: 10.69 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.PrescribedOutletCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutletCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutletCalcHelperMain.o] Error 1