Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001006, allocations: 102.6 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.001025/0.001025, allocations: 176.6 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.584/1.584, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.077/1.077, allocations: 135.3 MB / 427 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003799, allocations: 8.219 kB / 0.5076 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2207, allocations: 82.33 MB / 0.588 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.4748/0.6956, allocations: 26.91 MB / 0.6143 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.7109, allocations: 6.466 MB / 0.6206 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.7138, allocations: 44 kB / 0.6206 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.7162, allocations: 0.5563 MB / 0.6212 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005068/0.7213, allocations: 1.183 MB / 0.6223 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.7252, allocations: 0.9429 MB / 0.6232 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005225/0.7304, allocations: 2.764 MB / 0.6259 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.7321, allocations: 0.6458 MB / 0.6266 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.7346, allocations: 0.8894 MB / 0.6274 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.736, allocations: 0.7506 MB / 0.6282 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.7361, allocations: 37.84 kB / 0.6282 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.7384, allocations: 0.4981 MB / 0.6287 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.7387, allocations: 237 kB / 0.6289 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.7392, allocations: 225.7 kB / 0.6291 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.7407, allocations: 1.032 MB / 0.6301 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.7408, allocations: 0 / 0.6301 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7408, allocations: 0 / 0.6301 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.7408, allocations: 0 / 0.6301 GB, free: 31.73 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002855/0.7437, allocations: 1.371 MB / 0.6315 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.7437, allocations: 8.906 kB / 0.6315 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004476/0.7482, allocations: 0.6353 MB / 0.6321 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.7501, allocations: 0.7701 MB / 0.6329 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/0.7502, allocations: 58.89 kB / 0.6329 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.7504, allocations: 72.12 kB / 0.633 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.7528, allocations: 1.109 MB / 0.6341 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.7528, allocations: 3.938 kB / 0.6341 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.753, allocations: 32.31 kB / 0.6341 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.753, allocations: 20.27 kB / 0.6341 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.7566, allocations: 1.015 MB / 0.6351 GB, free: 29.4 MB / 0.4981 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.006653/0.7633, allocations: 4.971 MB / 0.64 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004052/0.7674, allocations: 0.9575 MB / 0.6409 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/0.7694, allocations: 495.4 kB / 0.6414 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/0.7709, allocations: 1.599 MB / 0.6429 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00221/0.7732, allocations: 0.5867 MB / 0.6435 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 4.379e-06/0.7732, allocations: 0 / 0.6435 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.006039/0.7792, allocations: 1.513 MB / 0.645 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.7793, allocations: 61.22 kB / 0.6451 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.7811, allocations: 1.114 MB / 0.6461 GB, free: 22.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.7812, allocations: 39.14 kB / 0.6462 GB, free: 22.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.7816, allocations: 0.5411 MB / 0.6467 GB, free: 21.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.7817, allocations: 215.4 kB / 0.6469 GB, free: 21.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.7818, allocations: 15.22 kB / 0.6469 GB, free: 21.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.7819, allocations: 333.9 kB / 0.6472 GB, free: 21.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.7831, allocations: 456.5 kB / 0.6477 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.7846, allocations: 0.7267 MB / 0.6484 GB, free: 20.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.786, allocations: 499.7 kB / 0.6489 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.7861, allocations: 3.031 kB / 0.6489 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00354/0.7896, allocations: 1.287 MB / 0.6501 GB, free: 20.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.7897, allocations: 12.06 kB / 0.6501 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.7897, allocations: 10.91 kB / 0.6501 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.7e-05/0.7897, allocations: 13.56 kB / 0.6502 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.791, allocations: 271.3 kB / 0.6504 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/0.791, allocations: 16.17 kB / 0.6504 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.7925, allocations: 214.6 kB / 0.6506 GB, free: 20.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.7927, allocations: 51.66 kB / 0.6507 GB, free: 20.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0006533/0.7933, allocations: 293.6 kB / 0.651 GB, free: 19.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.7936, allocations: 122 kB / 0.6511 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005774/0.7994, allocations: 1.384 MB / 0.6524 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.874e-05/0.7995, allocations: 9.812 kB / 0.6524 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.7995, allocations: 1.25 kB / 0.6524 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.7995, allocations: 7.844 kB / 0.6525 GB, free: 19.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008507/0.8081, allocations: 2.391 MB / 0.6548 GB, free: 18.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.8081, allocations: 1.734 kB / 0.6548 GB, free: 18.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.8096, allocations: 194.1 kB / 0.655 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.128e-05/0.8096, allocations: 4.375 kB / 0.655 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.8098, allocations: 28.97 kB / 0.655 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/0.8098, allocations: 3.891 kB / 0.655 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.8098, allocations: 3.625 kB / 0.655 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007845/0.8177, allocations: 2.001 MB / 0.657 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009529/0.8187, allocations: 283.7 kB / 0.6572 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.8189, allocations: 23.83 kB / 0.6573 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.8203, allocations: 129 kB / 0.6574 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.8205, allocations: 45.8 kB / 0.6574 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.8207, allocations: 37.59 kB / 0.6575 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001565/0.8222, allocations: 0.7553 MB / 0.6582 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8223, allocations: 0 / 0.6582 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001775/0.824, allocations: 340.8 kB / 0.6585 GB, free: 17.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001923/0.826, allocations: 0.6486 MB / 0.6592 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003566/0.8296, allocations: 1.133 MB / 0.6603 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.8296, allocations: 1.312 kB / 0.6603 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.8312, allocations: 0.5807 MB / 0.6608 GB, free: 16.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.8335, allocations: 443 kB / 0.6613 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/0.8387, allocations: 2.741 MB / 0.6639 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007434/0.8395, allocations: 1.101 MB / 0.665 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.84, allocations: 121.6 kB / 0.6651 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.84, allocations: 0 / 0.6651 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.04046/0.8804, allocations: 18.83 MB / 0.6835 GB, free: 7.266 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.PrescribedOutlet_WaterCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.o] Error 1