Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.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(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.000872, allocations: 89.86 kB / 16.33 MB, free: 6.336 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.0008924/0.0008926, allocations: 187.8 kB / 17.23 MB, free: 6.238 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.538/1.538, allocations: 223.3 MB / 241.2 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.5911/0.5911, allocations: 64.92 MB / 357.3 MB, free: 5.023 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 12.5 kB / 432.6 MB, free: 39.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1755, allocations: 64.85 MB / 497.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007716/0.1833, allocations: 6.592 MB / 0.4922 GB, free: 9.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006768/0.1901, allocations: 4.141 MB / 0.4963 GB, free: 5.137 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009758/0.1911, allocations: 11.94 kB / 0.4963 GB, free: 5.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.1924, allocations: 413.6 kB / 0.4967 GB, free: 4.719 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.1943, allocations: 0.6563 MB / 0.4973 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.1954, allocations: 319.5 kB / 0.4976 GB, free: 3.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004111/0.1995, allocations: 2.754 MB / 0.5003 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.2009, allocations: 0.5963 MB / 0.5009 GB, free: 380 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.2025, allocations: 0.736 MB / 0.5016 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.204, allocations: 1.02 MB / 0.5026 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.2042, allocations: 84 kB / 0.5027 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.2045, allocations: 76 kB / 0.5028 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008082/0.2053, allocations: 0.6895 MB / 0.5034 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004759/0.2058, allocations: 404.8 kB / 0.5038 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.2081, allocations: 2.404 MB / 0.5062 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2081, allocations: 0 / 0.5062 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2081, allocations: 0 / 0.5062 GB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.799e-05/0.2082, allocations: 4 kB / 0.5062 GB, free: 10.95 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.004058/0.2122, allocations: 1.834 MB / 0.508 GB, free: 9.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.2123, allocations: 8.031 kB / 0.508 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004741/0.2128, allocations: 189.8 kB / 0.5082 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.214, allocations: 0.7347 MB / 0.5089 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.2142, allocations: 148 kB / 0.509 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006711/0.2148, allocations: 279.7 kB / 0.5093 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004757/0.2196, allocations: 2.719 MB / 0.5119 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.2197, allocations: 7.938 kB / 0.5119 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.2199, allocations: 87.98 kB / 0.512 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/0.22, allocations: 147.5 kB / 0.5122 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/0.2241, allocations: 2.172 MB / 0.5143 GB, free: 2.34 MB / 382.1 MB 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.01567/0.2397, allocations: 10.81 MB / 0.5248 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.243, allocations: 2.789 MB / 0.5276 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.2442, allocations: 0.6566 MB / 0.5282 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.2443, allocations: 25.05 kB / 0.5282 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.2444, allocations: 47.56 kB / 0.5283 GB, free: 3.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.837e-06/0.2444, allocations: 0 / 0.5283 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.01973/0.2641, allocations: 7.648 MB / 0.5358 GB, free: 11.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005527/0.2697, allocations: 3.9 MB / 0.5396 GB, free: 6.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.2716, allocations: 1.082 MB / 0.5406 GB, free: 5.883 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003392/0.272, allocations: 53.62 kB / 0.5407 GB, free: 5.824 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.2728, allocations: 0.9317 MB / 0.5416 GB, free: 4.875 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005634/0.2733, allocations: 0.4931 MB / 0.5421 GB, free: 4.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.2735, allocations: 44 kB / 0.5421 GB, free: 4.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003016/0.2738, allocations: 439.5 kB / 0.5425 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.2755, allocations: 0.9143 MB / 0.5434 GB, free: 2.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.2781, allocations: 1.871 MB / 0.5452 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.2802, allocations: 1.252 MB / 0.5465 GB, free: 15.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/0.2802, allocations: 8 kB / 0.5465 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008776/0.289, allocations: 3.696 MB / 0.5501 GB, free: 11.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.2891, allocations: 23.95 kB / 0.5501 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.198e-05/0.2892, allocations: 32 kB / 0.5501 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004338/0.2935, allocations: 1.01 MB / 0.5511 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/0.2964, allocations: 0.5694 MB / 0.5517 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.3073, allocations: 6.308 MB / 0.5578 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/0.3105, allocations: 227.5 kB / 0.5581 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/0.3108, allocations: 124 kB / 0.5582 GB, free: 3.188 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 15} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001332/0.3121, allocations: 0.5687 MB / 0.5587 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/0.3125, allocations: 130.5 kB / 0.5589 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007979/0.3205, allocations: 2.879 MB / 0.5617 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006885/0.3275, allocations: 2.499 MB / 0.5641 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/0.3275, allocations: 7.938 kB / 0.5641 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-05/0.3276, allocations: 7.984 kB / 0.5641 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.3423, allocations: 6.079 MB / 0.5701 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.3424, allocations: 4 kB / 0.5701 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.3441, allocations: 292.2 kB / 0.5703 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005115/0.3492, allocations: 1.228 MB / 0.5715 GB, free: 5.246 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002678/0.3495, allocations: 43.97 kB / 0.5716 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.445/0.7945, allocations: 5.999 MB / 0.5774 GB, free: 79.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004936/0.7995, allocations: 3.781 MB / 0.5811 GB, free: 76.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.8097, allocations: 4.344 MB / 0.5854 GB, free: 76.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007266/0.8105, allocations: 221.6 kB / 0.5856 GB, free: 75.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.8107, allocations: 35.66 kB / 0.5856 GB, free: 75.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.8121, allocations: 144.1 kB / 0.5858 GB, free: 75.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004283/0.8125, allocations: 120.7 kB / 0.5859 GB, free: 75.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.8127, allocations: 50.02 kB / 0.5859 GB, free: 75.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001333/0.814, allocations: 0.6888 MB / 0.5866 GB, free: 75.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8141, allocations: 0 / 0.5866 GB, free: 75.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003057/0.8171, allocations: 0.5834 MB / 0.5872 GB, free: 75.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 122 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,61.2%) 10} * Non-linear torn systems: 3 {1 3,5 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002956/0.8174, allocations: 144.9 kB / 0.5873 GB, free: 75.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007988/0.8254, allocations: 2.632 MB / 0.5899 GB, free: 75.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.8255, allocations: 1.875 kB / 0.5899 GB, free: 75.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004077/0.8295, allocations: 1.395 MB / 0.5912 GB, free: 75.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.8322, allocations: 389.7 kB / 0.5916 GB, free: 75.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009072/0.8413, allocations: 4.651 MB / 0.5961 GB, free: 73.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.8425, allocations: 1.419 MB / 0.5975 GB, free: 72.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000697/0.8432, allocations: 132.1 kB / 0.5977 GB, free: 72.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.8432, allocations: 0 / 0.5977 GB, free: 72.45 MB / 446.1 MB Notification: Performance of Templates: time 0.06045/0.9037, allocations: 50.58 MB / 0.647 GB, free: 27.5 MB / 446.1 MB make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.makefile make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystemCalcHelperMain.o OMCppThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystemCalcHelperMain.o] Error 1