Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004993/0.004993, 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.001157/0.001157, allocations: 195.2 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 2.283/2.283, allocations: 222.9 MB / 240.4 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004325/0.004325, allocations: 282.8 kB / 290.9 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.946/1.946, allocations: 169.2 MB / 0.4983 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002842/0.002842, allocations: 98.83 kB / 0.5951 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.372, allocations: 86.99 MB / 0.6801 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.07259/0.4447, allocations: 29.16 MB / 0.7086 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02572/0.4705, allocations: 6.886 MB / 0.7153 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004015/0.4747, allocations: 51.62 kB / 0.7153 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003956/0.4787, allocations: 0.6066 MB / 0.7159 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008635/0.4874, allocations: 1.334 MB / 0.7172 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006304/0.4938, allocations: 1.054 MB / 0.7183 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007538/0.5014, allocations: 3.21 MB / 0.7214 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002973/0.5044, allocations: 0.7278 MB / 0.7221 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004324/0.5088, allocations: 0.9451 MB / 0.723 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/0.5116, allocations: 0.8247 MB / 0.7238 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005976/0.5122, allocations: 44 kB / 0.7239 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00444/0.5167, allocations: 0.7638 MB / 0.7246 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.5178, allocations: 266.9 kB / 0.7249 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002293/0.5202, allocations: 0.5242 MB / 0.7254 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003782/0.524, allocations: 1.138 MB / 0.7265 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.349e-05/0.524, allocations: 0 / 0.7265 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.216e-06/0.524, allocations: 0 / 0.7265 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.801e-05/0.5241, allocations: 0 / 0.7265 GB, free: 1.496 MB / 0.5137 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.005874/0.53, allocations: 1.566 MB / 0.728 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 9.751e-05/0.5302, allocations: 12.03 kB / 0.728 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.5351, allocations: 0.5923 MB / 0.7286 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.5379, allocations: 0.8056 MB / 0.7294 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.5381, allocations: 58.38 kB / 0.7295 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.5383, allocations: 75.94 kB / 0.7295 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/0.5421, allocations: 1.098 MB / 0.7306 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.5422, allocations: 3.938 kB / 0.7306 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.5423, allocations: 35.98 kB / 0.7306 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.5424, allocations: 20 kB / 0.7307 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.5468, allocations: 0.9923 MB / 0.7316 GB, free: 12.05 MB / 0.5294 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.01139/0.5582, allocations: 4.955 MB / 0.7365 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005869/0.5641, allocations: 0.8996 MB / 0.7373 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/0.5672, allocations: 490.2 kB / 0.7378 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00275/0.57, allocations: 1.596 MB / 0.7394 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003502/0.5735, allocations: 0.5768 MB / 0.7399 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 1.068e-05/0.5736, allocations: 0 / 0.7399 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.01012/0.5837, allocations: 1.481 MB / 0.7414 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.5839, allocations: 63.91 kB / 0.7414 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/0.5871, allocations: 1.112 MB / 0.7425 GB, free: 204 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.5874, allocations: 37.7 kB / 0.7426 GB, free: 160 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009295/0.5883, allocations: 0.5473 MB / 0.7431 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004653/0.5888, allocations: 205.1 kB / 0.7433 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006625/0.5895, allocations: 170.4 kB / 0.7435 GB, free: 15.22 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003324/0.5899, allocations: 342 kB / 0.7438 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/0.5929, allocations: 449.6 kB / 0.7442 GB, free: 14.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003467/0.5964, allocations: 0.7127 MB / 0.7449 GB, free: 13.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00615/0.6026, allocations: 1.117 MB / 0.746 GB, free: 12.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.337e-05/0.6027, allocations: 0 / 0.746 GB, free: 12.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.007909/0.6106, allocations: 1.278 MB / 0.7472 GB, free: 11.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.884e-05/0.6107, allocations: 8 kB / 0.7473 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.776e-05/0.6108, allocations: 8 kB / 0.7473 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.318e-05/0.6109, allocations: 12 kB / 0.7473 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.6133, allocations: 271.6 kB / 0.7475 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-05/0.6133, allocations: 15.94 kB / 0.7475 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/0.6161, allocations: 199 kB / 0.7477 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/0.6163, allocations: 43.97 kB / 0.7478 GB, free: 10.56 MB / 0.545 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 ($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 (100): * Single equations (assignments): 100 * 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.001067/0.6174, allocations: 292.4 kB / 0.7481 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007019/0.6181, allocations: 122.4 kB / 0.7482 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008367/0.6265, allocations: 1.359 MB / 0.7495 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/0.6266, allocations: 16 kB / 0.7495 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/0.6267, allocations: 0 / 0.7495 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.6267, allocations: 3.984 kB / 0.7495 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.6384, allocations: 2.374 MB / 0.7518 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-05/0.6385, allocations: 3.938 kB / 0.7518 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/0.6407, allocations: 191.9 kB / 0.752 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-05/0.6407, allocations: 4 kB / 0.752 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/0.6409, allocations: 23.97 kB / 0.7521 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.117e-05/0.641, allocations: 4 kB / 0.7521 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/0.641, allocations: 8 kB / 0.7521 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/0.6529, allocations: 1.977 MB / 0.754 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.6543, allocations: 275.5 kB / 0.7543 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000564/0.6549, allocations: 19.98 kB / 0.7543 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/0.6572, allocations: 119.9 kB / 0.7544 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.6576, allocations: 52.38 kB / 0.7544 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/0.6578, allocations: 35.97 kB / 0.7545 GB, free: 3.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00261/0.6604, allocations: 0.7638 MB / 0.7552 GB, free: 2.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.31e-07/0.6605, allocations: 0 / 0.7552 GB, free: 2.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002992/0.6635, allocations: 351.5 kB / 0.7556 GB, free: 2.457 MB / 0.545 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 (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.003653/0.6672, allocations: 0.6638 MB / 0.7562 GB, free: 1.957 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007419/0.6746, allocations: 1.103 MB / 0.7573 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.6747, allocations: 192 / 0.7573 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003658/0.6784, allocations: 0.5813 MB / 0.7578 GB, free: 276 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005498/0.6839, allocations: 428.2 kB / 0.7583 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.6942, allocations: 2.773 MB / 0.761 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.6955, allocations: 1.104 MB / 0.762 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008057/0.6963, allocations: 115.4 kB / 0.7622 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of SimCode: time 2.175e-06/0.6963, allocations: 0 / 0.7622 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.8065/1.503, allocations: 19.02 MB / 0.7807 GB, free: 92.15 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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 OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.o] Error 1