Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.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.TestRefP1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1") 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.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.366e-05/1.367e-05, allocations: 4 kB / 205.4 MB, free: 9.797 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.148, allocations: 31.98 MB / 237.4 MB, free: 5.695 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.TestRefP1): time 1.438/1.586, allocations: 294.9 MB / 0.5198 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4363/2.022, allocations: 192.7 MB / 0.708 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/2.023, allocations: 11.19 kB / 0.7081 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001821/2.023, allocations: 60.31 kB / 0.7081 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006351/2.024, allocations: 200.6 kB / 0.7083 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02513/2.049, allocations: 10.43 MB / 0.7185 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000899/2.05, allocations: 0.7899 MB / 0.7193 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/2.05, allocations: 428.2 kB / 0.7197 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/2.05, allocations: 264 kB / 0.7199 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/2.051, allocations: 316.3 kB / 0.7202 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/2.051, allocations: 31.56 kB / 0.7202 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0277/2.078, allocations: 19.17 MB / 0.739 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/2.079, allocations: 130.4 kB / 0.7391 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004059/2.079, allocations: 375.9 kB / 0.7394 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01232/2.091, allocations: 7.245 MB / 0.7465 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/2.091, allocations: 0 / 0.7465 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/2.091, allocations: 3.312 kB / 0.7465 GB, free: 332 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.529e-05/2.091, allocations: 0 / 0.7465 GB, free: 332 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.005056/2.097, allocations: 2.07 MB / 0.7485 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/2.097, allocations: 8.625 kB / 0.7486 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/2.097, allocations: 96.91 kB / 0.7486 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/2.097, allocations: 421.2 kB / 0.749 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/2.097, allocations: 62.31 kB / 0.7491 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/2.097, allocations: 74.84 kB / 0.7492 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/2.099, allocations: 0.7448 MB / 0.7499 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/2.099, allocations: 0 / 0.7499 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/2.099, allocations: 32.19 kB / 0.7499 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/2.099, allocations: 19.62 kB / 0.75 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008688/2.099, allocations: 0.5557 MB / 0.7505 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06752/2.167, allocations: 33.43 MB / 0.7831 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/2.168, allocations: 307.5 kB / 0.7834 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/2.168, allocations: 110.2 kB / 0.7835 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7423/2.91, allocations: 252.4 MB / 1.03 GB, free: 214.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/2.91, allocations: 39.52 kB / 1.03 GB, free: 214.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 3.817e-06/2.91, allocations: 0 / 1.03 GB, free: 214.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.004959/2.915, allocations: 1.265 MB / 1.031 GB, free: 213.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/2.915, allocations: 52.75 kB / 1.031 GB, free: 213.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/2.916, allocations: 490.5 kB / 1.032 GB, free: 213.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/2.916, allocations: 29.2 kB / 1.032 GB, free: 213.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/2.916, allocations: 359.7 kB / 1.032 GB, free: 213.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/2.916, allocations: 97.52 kB / 1.032 GB, free: 213.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/2.916, allocations: 52.09 kB / 1.032 GB, free: 213.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.311e-05/2.916, allocations: 354 kB / 1.033 GB, free: 212.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/2.916, allocations: 107.4 kB / 1.033 GB, free: 212.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/2.917, allocations: 217.7 kB / 1.033 GB, free: 212.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/2.917, allocations: 338.2 kB / 1.033 GB, free: 212.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/2.917, allocations: 1.531 kB / 1.033 GB, free: 212.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001935/2.919, allocations: 0.718 MB / 1.034 GB, free: 212.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/2.919, allocations: 8.219 kB / 1.034 GB, free: 212.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/2.919, allocations: 9.625 kB / 1.034 GB, free: 212.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008486/2.92, allocations: 203.8 kB / 1.034 GB, free: 212.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/2.92, allocations: 64.39 kB / 1.034 GB, free: 212.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006976/2.921, allocations: 1.25 MB / 1.036 GB, free: 211.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/2.921, allocations: 52.97 kB / 1.036 GB, free: 211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/2.921, allocations: 26.3 kB / 1.036 GB, free: 211 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 7 (source.C.ftype,pump.fluid,lumpedStraightPipe.fluid,sink.fluid,source.fluid1,refQ.C1.diff_on_2,lumpedStraightPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {(1,4), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.00019/2.921, allocations: 186.7 kB / 1.036 GB, free: 210.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/2.921, allocations: 55.75 kB / 1.036 GB, free: 210.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/2.923, allocations: 0.6333 MB / 1.036 GB, free: 210.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/2.923, allocations: 2.719 kB / 1.036 GB, free: 210.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/2.923, allocations: 0.875 kB / 1.036 GB, free: 210.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/2.923, allocations: 3.984 kB / 1.036 GB, free: 210.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/2.924, allocations: 0.5398 MB / 1.037 GB, free: 210.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/2.924, allocations: 0 / 1.037 GB, free: 210.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/2.924, allocations: 20.02 kB / 1.037 GB, free: 210.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007204/2.925, allocations: 201 kB / 1.037 GB, free: 210.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/2.925, allocations: 11.42 kB / 1.037 GB, free: 210.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006162/2.925, allocations: 1.24 MB / 1.038 GB, free: 209.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/2.925, allocations: 4.031 kB / 1.038 GB, free: 209.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/2.927, allocations: 0.6742 MB / 1.039 GB, free: 208.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/2.927, allocations: 158.9 kB / 1.039 GB, free: 208.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/2.927, allocations: 11.81 kB / 1.039 GB, free: 208.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/2.927, allocations: 11.92 kB / 1.039 GB, free: 208.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/2.927, allocations: 11.98 kB / 1.039 GB, free: 208.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/2.927, allocations: 11.86 kB / 1.039 GB, free: 208.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002524/2.928, allocations: 330.9 kB / 1.04 GB, free: 208.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/2.928, allocations: 1.859 kB / 1.04 GB, free: 208.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003693/2.931, allocations: 1.68 MB / 1.041 GB, free: 206.7 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 (14): * Single equations (assignments): 12 * 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 {(1,4), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005832/2.937, allocations: 2.578 MB / 1.044 GB, free: 204.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006227/2.938, allocations: 308.5 kB / 1.044 GB, free: 204.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/2.938, allocations: 0 / 1.044 GB, free: 204.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002686/2.938, allocations: 147.4 kB / 1.044 GB, free: 204.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/2.939, allocations: 92.72 kB / 1.044 GB, free: 204.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/2.94, allocations: 1.294 MB / 1.046 GB, free: 203 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/2.94, allocations: 0.8875 MB / 1.046 GB, free: 202.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/2.94, allocations: 39.44 kB / 1.046 GB, free: 202.1 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/2.94, allocations: 0 / 1.046 GB, free: 202.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.03685/2.977, allocations: 36.6 MB / 1.082 GB, free: 165.7 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.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.TestRefP1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1CalcHelperMain.o] Error 1