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.001176/0.001177, allocations: 98.89 kB / 15.71 MB, free: 452 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.001773/0.001773, allocations: 181 kB / 16.58 MB, free: 6.422 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.48/1.48, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7733/0.7733, allocations: 132.3 MB / 424 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 8 kB / 0.504 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5014/0.5017, allocations: 81.58 MB / 0.5837 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2038/0.7055, allocations: 176.3 MB / 0.7559 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.7171, allocations: 4.897 MB / 0.7606 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.7187, allocations: 43.62 kB / 0.7607 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.7208, allocations: 0.6141 MB / 0.7613 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007223/0.7281, allocations: 1.898 MB / 0.7631 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003615/0.7317, allocations: 0.9019 MB / 0.764 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004393/0.7361, allocations: 3.081 MB / 0.767 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.7374, allocations: 0.7658 MB / 0.7678 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.7394, allocations: 1.004 MB / 0.7687 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.7407, allocations: 0.9535 MB / 0.7697 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.7409, allocations: 48 kB / 0.7697 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.7434, allocations: 0.9353 MB / 0.7706 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004267/0.7439, allocations: 402.7 kB / 0.771 GB, free: 240 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.7443, allocations: 269 kB / 0.7713 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.7461, allocations: 1.387 MB / 0.7726 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7461, allocations: 0 / 0.7726 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7461, allocations: 0 / 0.7726 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.7462, allocations: 0 / 0.7726 GB, free: 14.57 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.004501/0.7507, allocations: 1.724 MB / 0.7743 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.7507, allocations: 12.03 kB / 0.7743 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005079/0.7558, allocations: 0.919 MB / 0.7752 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.7575, allocations: 0.8679 MB / 0.7761 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/0.7576, allocations: 66 kB / 0.7761 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.7577, allocations: 92 kB / 0.7762 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.7613, allocations: 1.575 MB / 0.7778 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.7613, allocations: 3.938 kB / 0.7778 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.7614, allocations: 36 kB / 0.7778 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.615e-05/0.7615, allocations: 49.94 kB / 0.7778 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00468/0.7662, allocations: 1.834 MB / 0.7796 GB, free: 7.246 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.007455/0.7737, allocations: 4.75 MB / 0.7843 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/0.7776, allocations: 1.591 MB / 0.7858 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.7797, allocations: 0.8517 MB / 0.7867 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.781, allocations: 0.953 MB / 0.7876 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002215/0.7832, allocations: 0.907 MB / 0.7885 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 4.488e-06/0.7832, allocations: 3.938 kB / 0.7885 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.006931/0.7902, allocations: 2.439 MB / 0.7909 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.7902, allocations: 60.41 kB / 0.7909 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.7918, allocations: 1.189 MB / 0.7921 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.7919, allocations: 49.7 kB / 0.7921 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.7924, allocations: 0.5409 MB / 0.7927 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.7927, allocations: 327.3 kB / 0.793 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-05/0.7928, allocations: 20 kB / 0.793 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.793, allocations: 337.9 kB / 0.7933 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.7949, allocations: 0.6967 MB / 0.794 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.797, allocations: 0.9074 MB / 0.7949 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.799, allocations: 0.7251 MB / 0.7956 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.799, allocations: 0 / 0.7956 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004601/0.8036, allocations: 1.76 MB / 0.7973 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.8037, allocations: 8 kB / 0.7973 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.8037, allocations: 7.938 kB / 0.7973 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.8037, allocations: 16.42 kB / 0.7973 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.8054, allocations: 343.5 kB / 0.7977 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/0.8055, allocations: 11.98 kB / 0.7977 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.8071, allocations: 254.7 kB / 0.7979 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.8072, allocations: 47.97 kB / 0.798 GB, free: 3.918 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 ($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.0006476/0.8079, allocations: 339.7 kB / 0.7983 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.8082, allocations: 138.3 kB / 0.7984 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004783/0.813, allocations: 1.788 MB / 0.8002 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.813, allocations: 15.94 kB / 0.8002 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.813, allocations: 4 kB / 0.8002 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.813, allocations: 3.984 kB / 0.8002 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007199/0.8202, allocations: 3.32 MB / 0.8034 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.8203, allocations: 4 kB / 0.8034 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.8219, allocations: 292 kB / 0.8037 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.162e-05/0.8219, allocations: 8 kB / 0.8037 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.8221, allocations: 31.97 kB / 0.8037 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/0.8221, allocations: 8 kB / 0.8038 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.8221, allocations: 11.92 kB / 0.8038 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006959/0.8291, allocations: 2.828 MB / 0.8065 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007287/0.8298, allocations: 327.2 kB / 0.8068 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/0.8301, allocations: 24 kB / 0.8069 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.8316, allocations: 179.6 kB / 0.807 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.8317, allocations: 80.45 kB / 0.8071 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.731e-05/0.8318, allocations: 35.97 kB / 0.8071 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001155/0.833, allocations: 0.8275 MB / 0.808 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.31e-07/0.833, allocations: 0 / 0.808 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001168/0.8342, allocations: 335.7 kB / 0.8083 GB, free: 9.148 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 (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.001321/0.8355, allocations: 0.5328 MB / 0.8088 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004413/0.8399, allocations: 1.611 MB / 0.8104 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.84, allocations: 0 / 0.8104 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.8421, allocations: 0.836 MB / 0.8112 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/0.8451, allocations: 0.5917 MB / 0.8118 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006801/0.8519, allocations: 3.46 MB / 0.8151 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008933/0.8528, allocations: 1.179 MB / 0.8163 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/0.8536, allocations: 131.3 kB / 0.8164 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.8536, allocations: 0 / 0.8164 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of Templates: time 0.3914/1.245, allocations: 21.39 MB / 0.8373 GB, free: 209.6 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile make -j1 -f IDEAS_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_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