Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.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.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.739/0.739, allocations: 150.8 MB / 166.7 MB, free: 15.7 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.182e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1388, allocations: 31.97 MB / 237.4 MB, free: 5.402 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.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier): time 1.442/1.58, allocations: 294.4 MB / 0.5194 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1789/1.759, allocations: 186.4 MB / 0.7014 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003719/1.76, allocations: 11.94 kB / 0.7014 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/1.76, allocations: 47.61 kB / 0.7015 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004149/1.76, allocations: 178.6 kB / 0.7016 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2783/2.039, allocations: 8.977 MB / 0.7104 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007027/2.039, allocations: 0.6699 MB / 0.7111 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/2.04, allocations: 317.5 kB / 0.7114 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/2.04, allocations: 232.2 kB / 0.7116 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/2.04, allocations: 260 kB / 0.7118 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/2.04, allocations: 30.06 kB / 0.7119 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0227/2.063, allocations: 16.89 MB / 0.7283 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/2.063, allocations: 103.1 kB / 0.7284 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003615/2.063, allocations: 316.2 kB / 0.7287 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008812/2.072, allocations: 6.092 MB / 0.7347 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/2.072, allocations: 0 / 0.7347 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.833e-06/2.072, allocations: 3.844 kB / 0.7347 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.985e-05/2.072, allocations: 0 / 0.7347 GB, free: 4.004 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004116/2.076, allocations: 1.71 MB / 0.7364 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/2.076, allocations: 8.625 kB / 0.7364 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/2.076, allocations: 79.62 kB / 0.7365 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/2.077, allocations: 385.5 kB / 0.7368 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/2.077, allocations: 54.17 kB / 0.7369 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/2.077, allocations: 65.97 kB / 0.7369 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/2.078, allocations: 0.691 MB / 0.7376 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/2.078, allocations: 2.906 kB / 0.7376 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.318e-05/2.078, allocations: 27.16 kB / 0.7376 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/2.078, allocations: 17.44 kB / 0.7377 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006519/2.079, allocations: 460.1 kB / 0.7381 GB, free: 2.191 MB / 0.5762 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.06869/2.147, allocations: 35.05 MB / 0.7723 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/2.148, allocations: 166.1 kB / 0.7725 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/2.148, allocations: 66.95 kB / 0.7725 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6937/2.841, allocations: 215.1 MB / 0.9826 GB, free: 244.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/2.842, allocations: 33.66 kB / 0.9826 GB, free: 244.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/2.842, allocations: 0 / 0.9826 GB, free: 244.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001454/2.843, allocations: 0.656 MB / 0.9832 GB, free: 244.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/2.843, allocations: 52.11 kB / 0.9833 GB, free: 244.1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/2.843, allocations: 433.7 kB / 0.9837 GB, free: 244 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/2.843, allocations: 26.25 kB / 0.9837 GB, free: 243.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/2.844, allocations: 363.5 kB / 0.9841 GB, free: 243.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/2.844, allocations: 62.86 kB / 0.9841 GB, free: 243.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/2.844, allocations: 57.39 kB / 0.9842 GB, free: 243.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.687e-05/2.844, allocations: 345.2 kB / 0.9845 GB, free: 243.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/2.844, allocations: 87.8 kB / 0.9846 GB, free: 243.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/2.844, allocations: 315.6 kB / 0.9849 GB, free: 243.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/2.845, allocations: 430.9 kB / 0.9853 GB, free: 242.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/2.845, allocations: 2.938 kB / 0.9853 GB, free: 242.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009367/2.845, allocations: 0.5453 MB / 0.9859 GB, free: 242.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/2.845, allocations: 8.156 kB / 0.9859 GB, free: 242.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/2.846, allocations: 12.75 kB / 0.9859 GB, free: 242.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/2.846, allocations: 140.2 kB / 0.986 GB, free: 242.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/2.846, allocations: 75.19 kB / 0.9861 GB, free: 242.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/2.848, allocations: 2.468 MB / 0.9885 GB, free: 240.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/2.848, allocations: 72.78 kB / 0.9886 GB, free: 240.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/2.848, allocations: 27.28 kB / 0.9886 GB, free: 240.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 14 (massFlowMultiplier.fluid1,massFlowMultiplier.Cs.ftype,sourcePQ.C.ftype,massFlowMultiplier.fluids[1],sink.fluid,singularPressureLoss.fluid,singularPressureLoss1.fluid,sourcePQ.fluid1,massFlowMultiplier.Cs.diff_on_1,singularPressureLoss1.C2.diff_on_1,massFlowMultiplier.Ce.diff_on_2,sourcePQ.C.diff_on_2,massFlowMultiplier.Cs.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001917/2.848, allocations: 197.4 kB / 0.9888 GB, free: 240.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/2.848, allocations: 45.47 kB / 0.9888 GB, free: 240.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006892/2.849, allocations: 336.3 kB / 0.9891 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/2.849, allocations: 3.406 kB / 0.9891 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/2.849, allocations: 3.234 kB / 0.9891 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/2.849, allocations: 4.781 kB / 0.9892 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/2.849, allocations: 439.2 kB / 0.9896 GB, free: 239.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/2.849, allocations: 4 kB / 0.9896 GB, free: 239.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/2.849, allocations: 15.09 kB / 0.9896 GB, free: 239.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003887/2.85, allocations: 118.9 kB / 0.9897 GB, free: 239.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/2.85, allocations: 2.656 kB / 0.9897 GB, free: 239.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/2.851, allocations: 2.431 MB / 0.9921 GB, free: 237.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/2.851, allocations: 0 / 0.9921 GB, free: 237.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/2.851, allocations: 406.7 kB / 0.9925 GB, free: 237.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/2.852, allocations: 132.5 kB / 0.9926 GB, free: 237.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/2.852, allocations: 3.938 kB / 0.9926 GB, free: 237.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/2.852, allocations: 8.531 kB / 0.9926 GB, free: 237.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/2.852, allocations: 22.08 kB / 0.9926 GB, free: 237.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/2.852, allocations: 3.312 kB / 0.9926 GB, free: 237.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002361/2.852, allocations: 292.6 kB / 0.9929 GB, free: 237.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/2.852, allocations: 0 / 0.9929 GB, free: 237.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003369/2.855, allocations: 1.323 MB / 0.9942 GB, free: 237.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004474/2.86, allocations: 1.927 MB / 0.9961 GB, free: 236.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006357/2.861, allocations: 379.9 kB / 0.9964 GB, free: 236.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/2.861, allocations: 1.375 kB / 0.9964 GB, free: 236.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/2.861, allocations: 206 kB / 0.9966 GB, free: 236.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/2.861, allocations: 98.41 kB / 0.9967 GB, free: 236.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/2.862, allocations: 1.021 MB / 0.9977 GB, free: 235.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/2.863, allocations: 0.8479 MB / 0.9986 GB, free: 235.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/2.863, allocations: 37.14 kB / 0.9986 GB, free: 235.2 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/2.863, allocations: 0 / 0.9986 GB, free: 235.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.03626/2.899, allocations: 32.67 MB / 1.031 GB, free: 219.2 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.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 OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplierCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplierCalcHelperMain.o] Error 1