Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001071/0.001071, allocations: 102.7 kB / 15.71 MB, free: 460 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.001434/0.001435, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.574/1.574, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.151/1.151, allocations: 135.3 MB / 427 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 19.97 kB / 0.5076 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2246, allocations: 82.31 MB / 0.588 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6599/0.8846, allocations: 176.3 MB / 0.7602 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009529/0.8942, allocations: 4.889 MB / 0.7649 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.8963, allocations: 39.69 kB / 0.765 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002719/0.899, allocations: 0.6179 MB / 0.7656 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007165/0.9062, allocations: 1.89 MB / 0.7674 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.9091, allocations: 0.9014 MB / 0.7683 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004252/0.9134, allocations: 3.077 MB / 0.7713 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.9149, allocations: 0.7713 MB / 0.7721 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.9171, allocations: 1.004 MB / 0.773 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.9185, allocations: 0.9458 MB / 0.774 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.9187, allocations: 48 kB / 0.774 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.9214, allocations: 0.9392 MB / 0.7749 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004322/0.9218, allocations: 406.7 kB / 0.7753 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.9222, allocations: 265 kB / 0.7756 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.924, allocations: 1.383 MB / 0.7769 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9241, allocations: 0 / 0.7769 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9241, allocations: 4 kB / 0.7769 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.9241, allocations: 0 / 0.7769 GB, free: 11.57 MB / 0.5919 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.004543/0.9286, allocations: 1.71 MB / 0.7786 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.9287, allocations: 12.03 kB / 0.7786 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/0.9337, allocations: 0.9352 MB / 0.7795 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.9354, allocations: 0.864 MB / 0.7804 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-05/0.9354, allocations: 66 kB / 0.7804 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.9356, allocations: 88 kB / 0.7805 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/0.9391, allocations: 1.575 MB / 0.782 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.9391, allocations: 0 / 0.782 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.9392, allocations: 36 kB / 0.7821 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.525e-05/0.9393, allocations: 53.98 kB / 0.7821 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004725/0.944, allocations: 1.837 MB / 0.7839 GB, free: 4.25 MB / 0.5919 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.008149/0.9522, allocations: 4.759 MB / 0.7886 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003971/0.9562, allocations: 1.596 MB / 0.7901 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.9582, allocations: 0.8352 MB / 0.7909 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.9595, allocations: 0.9569 MB / 0.7919 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00217/0.9617, allocations: 0.9182 MB / 0.7928 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 4.819e-06/0.9617, allocations: 4 kB / 0.7928 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.006873/0.9686, allocations: 2.435 MB / 0.7952 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.9686, allocations: 64.41 kB / 0.7952 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.9702, allocations: 1.189 MB / 0.7964 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.9703, allocations: 53.64 kB / 0.7964 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004501/0.9708, allocations: 0.537 MB / 0.797 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/0.9711, allocations: 327.3 kB / 0.7973 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.9711, allocations: 20 kB / 0.7973 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.9713, allocations: 341.9 kB / 0.7976 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/0.9731, allocations: 0.6928 MB / 0.7983 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.9752, allocations: 0.9035 MB / 0.7992 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.9771, allocations: 0.7329 MB / 0.7999 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.9771, allocations: 0 / 0.7999 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004431/0.9816, allocations: 1.761 MB / 0.8016 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.9816, allocations: 17.58 kB / 0.8016 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.9816, allocations: 4 kB / 0.8016 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.9817, allocations: 12 kB / 0.8016 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.9833, allocations: 343.5 kB / 0.802 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.9833, allocations: 8 kB / 0.802 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.9849, allocations: 250.8 kB / 0.8022 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.985, allocations: 47.97 kB / 0.8023 GB, free: 0.9258 MB / 0.6075 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006341/0.9856, allocations: 336.3 kB / 0.8026 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.9858, allocations: 138.2 kB / 0.8027 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/0.9904, allocations: 1.794 MB / 0.8045 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.9904, allocations: 8 kB / 0.8045 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.9905, allocations: 4 kB / 0.8045 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.9905, allocations: 3.984 kB / 0.8045 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006611/0.9971, allocations: 3.328 MB / 0.8077 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.9971, allocations: 4.5 kB / 0.8077 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/0.9986, allocations: 295.5 kB / 0.808 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/0.9986, allocations: 8 kB / 0.808 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.959e-05/0.9987, allocations: 35.97 kB / 0.8081 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.9988, allocations: 11.98 kB / 0.8081 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.9988, allocations: 7.938 kB / 0.8081 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006481/1.005, allocations: 2.824 MB / 0.8108 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007036/1.006, allocations: 327.2 kB / 0.8111 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/1.006, allocations: 28 kB / 0.8112 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.007, allocations: 179.7 kB / 0.8113 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.008, allocations: 68.47 kB / 0.8114 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.615e-05/1.008, allocations: 36.06 kB / 0.8114 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001054/1.009, allocations: 0.8314 MB / 0.8123 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/1.009, allocations: 0 / 0.8123 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001069/1.01, allocations: 343.6 kB / 0.8126 GB, free: 6.141 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/1.011, allocations: 0.5428 MB / 0.8131 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004185/1.015, allocations: 1.607 MB / 0.8147 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.015, allocations: 0 / 0.8147 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002053/1.017, allocations: 0.8322 MB / 0.8155 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/1.02, allocations: 0.579 MB / 0.8161 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006075/1.026, allocations: 3.457 MB / 0.8194 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/1.027, allocations: 1.186 MB / 0.8206 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/1.028, allocations: 127.4 kB / 0.8207 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of SimCode: time 1.272e-06/1.028, allocations: 0 / 0.8207 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.03543/1.063, allocations: 21.39 MB / 0.8416 GB, free: 8.633 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutletCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutletCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutletCalcHelperMain.o] Error 1