Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.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.TestRefP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7222/0.7222, allocations: 150.8 MB / 166.7 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.387e-05/1.389e-05, allocations: 4 kB / 205.4 MB, free: 9.809 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1389, allocations: 31.98 MB / 237.4 MB, free: 5.328 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.TestRefP): time 1.42/1.559, allocations: 295.9 MB / 0.5208 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4558/2.015, allocations: 194.6 MB / 0.7108 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004539/2.015, allocations: 9.969 kB / 0.7108 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/2.015, allocations: 86.48 kB / 0.7109 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005651/2.016, allocations: 278.9 kB / 0.7112 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02678/2.043, allocations: 10.96 MB / 0.7219 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001289/2.044, allocations: 1.182 MB / 0.723 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/2.045, allocations: 0.5583 MB / 0.7236 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/2.045, allocations: 390.4 kB / 0.7239 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/2.045, allocations: 457.5 kB / 0.7244 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.023e-05/2.045, allocations: 51.88 kB / 0.7244 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03244/2.078, allocations: 22.75 MB / 0.7466 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/2.078, allocations: 188.5 kB / 0.7468 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006574/2.079, allocations: 0.528 MB / 0.7473 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01354/2.092, allocations: 8.433 MB / 0.7556 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/2.092, allocations: 0 / 0.7556 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.544e-06/2.092, allocations: 4 kB / 0.7556 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.849e-05/2.092, allocations: 2.938 kB / 0.7556 GB, free: 13.93 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.0056/2.098, allocations: 2.516 MB / 0.758 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/2.098, allocations: 9.406 kB / 0.758 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/2.098, allocations: 138.5 kB / 0.7582 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000586/2.099, allocations: 0.5032 MB / 0.7587 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/2.099, allocations: 91.33 kB / 0.7588 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/2.099, allocations: 112.2 kB / 0.7589 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/2.101, allocations: 1.204 MB / 0.76 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/2.101, allocations: 5.875 kB / 0.76 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/2.101, allocations: 52.44 kB / 0.7601 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/2.101, allocations: 30.94 kB / 0.7601 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/2.102, allocations: 0.8667 MB / 0.761 GB, free: 11.31 MB / 0.5919 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.0215/2.123, allocations: 15.65 MB / 0.7762 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/2.124, allocations: 325.7 kB / 0.7766 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/2.124, allocations: 112.2 kB / 0.7767 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6933/2.818, allocations: 286.5 MB / 1.056 GB, free: 400.7 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/2.818, allocations: 42.22 kB / 1.056 GB, free: 400.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=29): time 1.993e-06/2.818, allocations: 0 / 1.056 GB, free: 400.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29): time 0.005385/2.823, allocations: 1.388 MB / 1.058 GB, free: 399.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/2.823, allocations: 55.41 kB / 1.058 GB, free: 399.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/2.824, allocations: 0.5755 MB / 1.058 GB, free: 399 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/2.824, allocations: 29.64 kB / 1.058 GB, free: 398.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/2.824, allocations: 0.5378 MB / 1.059 GB, free: 398.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.197e-05/2.824, allocations: 111.8 kB / 1.059 GB, free: 398.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/2.824, allocations: 85.55 kB / 1.059 GB, free: 398.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.538e-05/2.824, allocations: 368.7 kB / 1.06 GB, free: 398 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/2.825, allocations: 144.7 kB / 1.06 GB, free: 397.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/2.825, allocations: 476.8 kB / 1.06 GB, free: 397.4 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/2.825, allocations: 0.6635 MB / 1.061 GB, free: 396.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/2.825, allocations: 4 kB / 1.061 GB, free: 396.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002173/2.828, allocations: 0.9629 MB / 1.062 GB, free: 395.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/2.828, allocations: 12.56 kB / 1.062 GB, free: 395.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/2.828, allocations: 12 kB / 1.062 GB, free: 395.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/2.829, allocations: 324.7 kB / 1.062 GB, free: 395.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/2.829, allocations: 115.6 kB / 1.062 GB, free: 395.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006171/2.83, allocations: 0.7798 MB / 1.063 GB, free: 394.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/2.83, allocations: 95.64 kB / 1.063 GB, free: 394.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/2.83, allocations: 35.94 kB / 1.063 GB, free: 394.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 16 (volumeA.fluid1,volumeA.Cs2.ftype,volumeA.Cs1.ftype,volumeA.Ce2.ftype,volumeA.fluids[1],pump.fluid,refT.fluid,lumpedStraightPipe.fluid,volumeA.Cs2.diff_on_1,volumeA.Cs1.diff_on_1,lumpedStraightPipe.C2.diff_on_1,volumeA.Ce2.diff_on_2,volumeA.Ce1.diff_on_2,refT.C1.diff_on_2,volumeA.Cs2.diff_on_2,volumeA.Ce2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002648/2.831, allocations: 247.2 kB / 1.063 GB, free: 394.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/2.831, allocations: 63.25 kB / 1.063 GB, free: 394.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009527/2.832, allocations: 0.5008 MB / 1.064 GB, free: 394 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/2.832, allocations: 4 kB / 1.064 GB, free: 394 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/2.832, allocations: 0 / 1.064 GB, free: 394 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/2.832, allocations: 6.516 kB / 1.064 GB, free: 394 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005786/2.832, allocations: 0.6542 MB / 1.064 GB, free: 393.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/2.832, allocations: 0 / 1.064 GB, free: 393.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.413e-05/2.832, allocations: 23.75 kB / 1.065 GB, free: 393.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/2.833, allocations: 283.7 kB / 1.065 GB, free: 393.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/2.834, allocations: 11.69 kB / 1.065 GB, free: 393.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000548/2.834, allocations: 0.7671 MB / 1.066 GB, free: 392.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/2.834, allocations: 0 / 1.066 GB, free: 392.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/2.835, allocations: 449 kB / 1.066 GB, free: 392.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/2.835, allocations: 168.6 kB / 1.066 GB, free: 392 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/2.835, allocations: 6.109 kB / 1.066 GB, free: 392 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/2.835, allocations: 12.06 kB / 1.066 GB, free: 392 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/2.835, allocations: 23.84 kB / 1.066 GB, free: 391.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/2.835, allocations: 12.66 kB / 1.066 GB, free: 391.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000292/2.836, allocations: 371.6 kB / 1.067 GB, free: 391.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/2.836, allocations: 0 / 1.067 GB, free: 391.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00387/2.839, allocations: 1.967 MB / 1.068 GB, free: 390 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006496/2.846, allocations: 2.897 MB / 1.071 GB, free: 387.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006624/2.847, allocations: 432.5 kB / 1.072 GB, free: 387.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/2.847, allocations: 0 / 1.072 GB, free: 387.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/2.847, allocations: 151.3 kB / 1.072 GB, free: 387.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/2.847, allocations: 108 kB / 1.072 GB, free: 387.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/2.849, allocations: 1.77 MB / 1.074 GB, free: 385.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/2.849, allocations: 0.9745 MB / 1.075 GB, free: 384.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/2.849, allocations: 47.44 kB / 1.075 GB, free: 384.4 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/2.849, allocations: 0 / 1.075 GB, free: 384.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.03831/2.888, allocations: 40.07 MB / 1.114 GB, free: 345.3 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.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.TestRefPCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefPCalcHelperMain.o] Error 1