Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6871/0.6871, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.287e-05/1.29e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1153, allocations: 31.99 MB / 237.4 MB, free: 5.418 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss): time 1.299/1.415, allocations: 293.4 MB / 0.5184 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03626/1.451, allocations: 36.96 MB / 0.5545 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.031e-05/1.451, allocations: 0 / 0.5545 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/1.451, allocations: 71.62 kB / 0.5545 GB, free: 8.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/1.451, allocations: 67.52 kB / 0.5546 GB, free: 8.734 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0142/1.465, allocations: 7.295 MB / 0.5617 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/1.466, allocations: 266.7 kB / 0.562 GB, free: 1.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/1.466, allocations: 86.53 kB / 0.5621 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/1.466, allocations: 103.5 kB / 0.5622 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/1.466, allocations: 75.59 kB / 0.5622 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/1.466, allocations: 8 kB / 0.5622 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02238/1.489, allocations: 17.8 MB / 0.5796 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/1.489, allocations: 27.86 kB / 0.5796 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/1.489, allocations: 129.1 kB / 0.5798 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005778/1.495, allocations: 5.582 MB / 0.5852 GB, free: 9.316 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/1.495, allocations: 0 / 0.5852 GB, free: 9.316 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.032e-06/1.495, allocations: 0 / 0.5852 GB, free: 9.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/1.495, allocations: 0 / 0.5852 GB, free: 9.316 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002355/1.497, allocations: 1.369 MB / 0.5866 GB, free: 7.895 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/1.497, allocations: 12.03 kB / 0.5866 GB, free: 7.883 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/1.497, allocations: 27.66 kB / 0.5866 GB, free: 7.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/1.497, allocations: 212 kB / 0.5868 GB, free: 7.609 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/1.497, allocations: 12.38 kB / 0.5868 GB, free: 7.598 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/1.497, allocations: 20.61 kB / 0.5868 GB, free: 7.578 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/1.498, allocations: 264.1 kB / 0.5871 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/1.498, allocations: 0 / 0.5871 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/1.498, allocations: 8 kB / 0.5871 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/1.498, allocations: 12.5 kB / 0.5871 GB, free: 7.281 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/1.498, allocations: 156.7 kB / 0.5872 GB, free: 7.129 MB / 478.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.01651/1.514, allocations: 9.563 MB / 0.5966 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/1.515, allocations: 82.55 kB / 0.5967 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.939e-05/1.515, allocations: 64.89 kB / 0.5967 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1358/1.651, allocations: 77.93 MB / 0.6728 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/1.651, allocations: 34.56 kB / 0.6729 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/1.651, allocations: 0 / 0.6729 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0004667/1.651, allocations: 214.1 kB / 0.6731 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/1.651, allocations: 51.41 kB / 0.6731 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/1.651, allocations: 224.8 kB / 0.6733 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/1.651, allocations: 37.64 kB / 0.6734 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/1.651, allocations: 140.2 kB / 0.6735 GB, free: 5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/1.651, allocations: 78.83 kB / 0.6736 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/1.652, allocations: 29.7 kB / 0.6736 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/1.652, allocations: 330.8 kB / 0.6739 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/1.652, allocations: 51.97 kB / 0.674 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/1.652, allocations: 96.77 kB / 0.6741 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/1.652, allocations: 152.1 kB / 0.6742 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.652, allocations: 4 kB / 0.6742 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003088/1.652, allocations: 203.1 kB / 0.6744 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.652, allocations: 4 kB / 0.6744 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.652, allocations: 0 / 0.6744 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/1.652, allocations: 4 kB / 0.6744 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/1.653, allocations: 135.9 kB / 0.6745 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/1.653, allocations: 4 kB / 0.6745 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/1.653, allocations: 31.58 kB / 0.6746 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/1.653, allocations: 8 kB / 0.6746 GB, free: 3.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (invSingularPressureLoss.C2.b,invSingularPressureLoss.C1.a,sinkQ.C.a,sourcePQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.986e-05/1.653, allocations: 134.4 kB / 0.6747 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/1.653, allocations: 15.81 kB / 0.6747 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/1.654, allocations: 328.8 kB / 0.675 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002099/1.654, allocations: 161.1 kB / 0.6752 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.654, allocations: 3.938 kB / 0.6752 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.654, allocations: 1.359 kB / 0.6752 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007117/1.655, allocations: 0.6157 MB / 0.6758 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.655, allocations: 3.938 kB / 0.6758 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/1.655, allocations: 127.9 kB / 0.6759 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.655, allocations: 7.938 kB / 0.6759 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.655, allocations: 7.984 kB / 0.6759 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.655, allocations: 0 / 0.6759 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.655, allocations: 0 / 0.6759 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/1.656, allocations: 294.3 kB / 0.6762 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/1.656, allocations: 120.7 kB / 0.6763 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/1.656, allocations: 0 / 0.6763 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/1.656, allocations: 12 kB / 0.6763 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/1.656, allocations: 13.66 kB / 0.6764 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/1.656, allocations: 4 kB / 0.6764 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001746/1.656, allocations: 210 kB / 0.6766 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.656, allocations: 7.938 kB / 0.6766 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002073/1.658, allocations: 1.167 MB / 0.6777 GB, free: 0.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.004023/1.662, allocations: 1.765 MB / 0.6794 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003513/1.663, allocations: 201.5 kB / 0.6796 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.663, allocations: 0 / 0.6796 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/1.663, allocations: 80.22 kB / 0.6797 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/1.663, allocations: 96.8 kB / 0.6798 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/1.664, allocations: 0.5846 MB / 0.6804 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/1.664, allocations: 0.7519 MB / 0.6811 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/1.664, allocations: 23.44 kB / 0.6811 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/1.664, allocations: 0 / 0.6811 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of Templates: time 0.1576/1.822, allocations: 22.73 MB / 0.7033 GB, free: 217.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLossCalcHelperMain.o] Error 1