Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.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.TestCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7297/0.7297, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.239e-05/1.241e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1366, allocations: 31.99 MB / 237.4 MB, free: 5.383 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.TestCentrifugalPump1): time 1.424/1.56, allocations: 295.4 MB / 0.5203 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1792/1.74, allocations: 187.1 MB / 0.703 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004073/1.74, allocations: 11.94 kB / 0.703 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/1.74, allocations: 75.34 kB / 0.7031 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.2653/2.005, allocations: 282.4 kB / 0.7033 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02155/2.027, allocations: 9.175 MB / 0.7123 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001058/2.028, allocations: 1.101 MB / 0.7134 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004376/2.029, allocations: 0.5086 MB / 0.7139 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/2.029, allocations: 423 kB / 0.7143 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/2.029, allocations: 469.6 kB / 0.7147 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.256e-05/2.029, allocations: 38.62 kB / 0.7147 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02314/2.053, allocations: 16.83 MB / 0.7312 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/2.053, allocations: 388.6 kB / 0.7316 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005957/2.054, allocations: 0.6803 MB / 0.7322 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007658/2.061, allocations: 6.663 MB / 0.7387 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/2.061, allocations: 0 / 0.7387 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.685e-06/2.061, allocations: 2.938 kB / 0.7387 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.83e-05/2.061, allocations: 0 / 0.7387 GB, free: 1.637 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.004273/2.066, allocations: 2.703 MB / 0.7414 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/2.066, allocations: 8.844 kB / 0.7414 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/2.066, allocations: 218.3 kB / 0.7416 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007393/2.067, allocations: 0.8103 MB / 0.7424 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/2.067, allocations: 68.69 kB / 0.7424 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/2.067, allocations: 90.38 kB / 0.7425 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/2.068, allocations: 1.339 MB / 0.7438 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/2.068, allocations: 8.75 kB / 0.7438 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/2.068, allocations: 38.06 kB / 0.7439 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/2.068, allocations: 26 kB / 0.7439 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/2.07, allocations: 1.413 MB / 0.7453 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1388/2.209, allocations: 67.04 MB / 0.8108 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/2.211, allocations: 1.669 MB / 0.8124 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006772/2.212, allocations: 0.5274 MB / 0.8129 GB, free: 248 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2177/2.43, allocations: 111.5 MB / 0.9218 GB, free: 7.008 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/2.43, allocations: 41.28 kB / 0.9218 GB, free: 6.965 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 2.715e-06/2.43, allocations: 0 / 0.9218 GB, free: 6.965 MB / 0.7637 GB Notification: Performance of matching and sorting (n=53): time 0.00721/2.437, allocations: 2.974 MB / 0.9247 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/2.437, allocations: 95.69 kB / 0.9248 GB, free: 4.191 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/2.439, allocations: 1.703 MB / 0.9265 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/2.439, allocations: 37.08 kB / 0.9265 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/2.439, allocations: 0.8701 MB / 0.9273 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/2.44, allocations: 186.6 kB / 0.9275 GB, free: 2.223 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/2.44, allocations: 75.11 kB / 0.9276 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/2.44, allocations: 336.9 kB / 0.9279 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/2.44, allocations: 0.5269 MB / 0.9284 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009339/2.441, allocations: 0.7812 MB / 0.9292 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/2.443, allocations: 1.32 MB / 0.9305 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/2.443, allocations: 3.75 kB / 0.9305 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002764/2.446, allocations: 1.884 MB / 0.9323 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/2.446, allocations: 8 kB / 0.9323 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/2.446, allocations: 8 kB / 0.9323 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007833/2.454, allocations: 1.5 MB / 0.9338 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/2.454, allocations: 138.6 kB / 0.9339 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/2.456, allocations: 2.374 MB / 0.9363 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/2.457, allocations: 134.1 kB / 0.9364 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/2.457, allocations: 39.17 kB / 0.9364 GB, free: 10.23 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 12 (sourcePQ1.C.ftype,centrifugalPump1.fluid,sink1.fluid,sourcePQ1.fluid1,sourcePQ.C.ftype,centrifugalPump.fluid,sink.fluid,sourcePQ.fluid1,sourcePQ1.C.diff_on_2,centrifugalPump1.C2.diff_on_1,sourcePQ.C.diff_on_2,centrifugalPump.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0004762/2.458, allocations: 414.9 kB / 0.9368 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/2.458, allocations: 173.8 kB / 0.937 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/2.46, allocations: 1.733 MB / 0.9387 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/2.46, allocations: 8 kB / 0.9387 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/2.46, allocations: 0 / 0.9387 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/2.46, allocations: 0 / 0.9387 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003665/2.464, allocations: 2.997 MB / 0.9416 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/2.464, allocations: 5.75 kB / 0.9416 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/2.464, allocations: 66.86 kB / 0.9417 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005363/2.47, allocations: 1.197 MB / 0.9429 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/2.47, allocations: 21.92 kB / 0.9429 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/2.472, allocations: 2.388 MB / 0.9452 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/2.472, allocations: 0 / 0.9452 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/2.474, allocations: 1.802 MB / 0.947 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/2.475, allocations: 272.2 kB / 0.9472 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-05/2.475, allocations: 10.5 kB / 0.9472 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/2.475, allocations: 40.22 kB / 0.9473 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/2.475, allocations: 42.53 kB / 0.9473 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/2.475, allocations: 15.62 kB / 0.9473 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001178/2.476, allocations: 1.158 MB / 0.9485 GB, free: 15.86 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/2.477, allocations: 0 / 0.9485 GB, free: 15.86 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003515/2.48, allocations: 1.435 MB / 0.9499 GB, free: 14.52 MB / 0.795 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,15), (2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004467/2.484, allocations: 1.978 MB / 0.9518 GB, free: 12.82 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001969/2.486, allocations: 1.268 MB / 0.953 GB, free: 11.79 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/2.486, allocations: 0 / 0.953 GB, free: 11.79 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/2.488, allocations: 0.635 MB / 0.9537 GB, free: 11.18 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/2.489, allocations: 171.8 kB / 0.9538 GB, free: 11 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/2.493, allocations: 3.713 MB / 0.9574 GB, free: 7.254 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/2.494, allocations: 1.323 MB / 0.9587 GB, free: 5.906 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/2.494, allocations: 47.44 kB / 0.9588 GB, free: 5.859 MB / 0.795 GB Notification: Performance of SimCode: time 3.9e-07/2.494, allocations: 0 / 0.9588 GB, free: 5.859 MB / 0.795 GB Notification: Performance of Templates: time 0.2053/2.699, allocations: 45.91 MB / 1.004 GB, free: 449.3 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.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.TestCentrifugalPump1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1CalcHelperMain.o] Error 1