Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.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.TestStodolaTurbine3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6834/0.6834, allocations: 150.8 MB / 166.7 MB, free: 15.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.277e-05/1.278e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 31.98 MB / 237.4 MB, free: 5.254 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.TestStodolaTurbine3): time 1.311/1.425, allocations: 295.4 MB / 0.5203 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04684/1.471, allocations: 48.18 MB / 0.5674 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/1.472, allocations: 4 kB / 0.5674 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/1.472, allocations: 175.1 kB / 0.5675 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004254/1.473, allocations: 258.1 kB / 0.5678 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02041/1.493, allocations: 9.842 MB / 0.5774 GB, free: 1.332 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008798/1.494, allocations: 1.012 MB / 0.5784 GB, free: 324 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/1.494, allocations: 256.4 kB / 0.5786 GB, free: 64 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/1.494, allocations: 358.2 kB / 0.579 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/1.495, allocations: 302.3 kB / 0.5793 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/1.495, allocations: 24 kB / 0.5793 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03102/1.526, allocations: 23.91 MB / 0.6026 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/1.526, allocations: 103.4 kB / 0.6027 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000383/1.526, allocations: 375.7 kB / 0.6031 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008837/1.535, allocations: 7.725 MB / 0.6106 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/1.535, allocations: 0 / 0.6106 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.492e-06/1.535, allocations: 0 / 0.6106 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.065e-05/1.535, allocations: 0 / 0.6106 GB, free: 15.23 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004186/1.539, allocations: 2.183 MB / 0.6128 GB, free: 13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/1.539, allocations: 8.031 kB / 0.6128 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/1.54, allocations: 82.88 kB / 0.6129 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/1.54, allocations: 348.7 kB / 0.6132 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/1.54, allocations: 175.7 kB / 0.6134 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/1.54, allocations: 44 kB / 0.6134 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/1.541, allocations: 0.8577 MB / 0.6142 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.541, allocations: 0 / 0.6142 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/1.541, allocations: 24 kB / 0.6143 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/1.541, allocations: 39.95 kB / 0.6143 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/1.542, allocations: 0.6485 MB / 0.6149 GB, free: 10.65 MB / 0.4981 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.03409/1.576, allocations: 20.38 MB / 0.6348 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/1.577, allocations: 0.5137 MB / 0.6353 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/1.578, allocations: 383.8 kB / 0.6357 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3046/1.882, allocations: 110 MB / 0.7431 GB, free: 189.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/1.882, allocations: 42.56 kB / 0.7431 GB, free: 189.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=132): time 2.144e-06/1.882, allocations: 0 / 0.7431 GB, free: 189.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=132): time 0.003185/1.886, allocations: 1.982 MB / 0.7451 GB, free: 188.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/1.886, allocations: 84.86 kB / 0.7452 GB, free: 188.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/1.886, allocations: 401.3 kB / 0.7455 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/1.886, allocations: 32.95 kB / 0.7456 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.036e-05/1.886, allocations: 247.8 kB / 0.7458 GB, free: 188.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/1.886, allocations: 417.3 kB / 0.7462 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/1.886, allocations: 83.34 kB / 0.7463 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.364e-05/1.886, allocations: 382.9 kB / 0.7467 GB, free: 187.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/1.887, allocations: 292.9 kB / 0.7469 GB, free: 187.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/1.887, allocations: 454 kB / 0.7474 GB, free: 187.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/1.888, allocations: 0.8378 MB / 0.7482 GB, free: 187.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.888, allocations: 0 / 0.7482 GB, free: 187.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001604/1.89, allocations: 1.129 MB / 0.7493 GB, free: 186.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.89, allocations: 7.875 kB / 0.7493 GB, free: 186.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/1.89, allocations: 3.969 kB / 0.7493 GB, free: 186.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008485/1.891, allocations: 0.5318 MB / 0.7498 GB, free: 186.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/1.891, allocations: 58.58 kB / 0.7499 GB, free: 186.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/1.892, allocations: 2.556 MB / 0.7524 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/1.893, allocations: 124.9 kB / 0.7525 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/1.893, allocations: 15.84 kB / 0.7525 GB, free: 184.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.b,puitsP1.C.a,stodolaTurbine1.Cs.b,stodolaTurbine1.Ce.a,sourceP.C.b,puitsP.C.a,stodolaTurbine.Cs.b,stodolaTurbine.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001665/1.893, allocations: 192.2 kB / 0.7527 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/1.893, allocations: 61.94 kB / 0.7527 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/1.895, allocations: 2.161 MB / 0.7549 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001436/1.896, allocations: 1.128 MB / 0.756 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.896, allocations: 3.938 kB / 0.756 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/1.897, allocations: 10.44 kB / 0.756 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/1.9, allocations: 3.461 MB / 0.7594 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.9, allocations: 11.94 kB / 0.7594 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/1.9, allocations: 166.7 kB / 0.7595 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007677/1.901, allocations: 0.5292 MB / 0.76 GB, free: 180 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/1.901, allocations: 35.44 kB / 0.7601 GB, free: 180 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/1.902, allocations: 2.614 MB / 0.7626 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.902, allocations: 15.94 kB / 0.7626 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/1.904, allocations: 1.726 MB / 0.7643 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/1.904, allocations: 262.3 kB / 0.7646 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/1.904, allocations: 34.98 kB / 0.7646 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/1.905, allocations: 63.41 kB / 0.7647 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/1.905, allocations: 94.97 kB / 0.7648 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/1.905, allocations: 35.5 kB / 0.7648 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004036/1.905, allocations: 0.5323 MB / 0.7653 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.905, allocations: 4 kB / 0.7653 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003088/1.909, allocations: 1.915 MB / 0.7672 GB, free: 173.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005035/1.914, allocations: 2.617 MB / 0.7697 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001448/1.915, allocations: 1.313 MB / 0.771 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.915, allocations: 4 kB / 0.771 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008305/1.916, allocations: 0.584 MB / 0.7716 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/1.919, allocations: 471.6 kB / 0.7721 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/1.922, allocations: 2.865 MB / 0.7748 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/1.922, allocations: 1.046 MB / 0.7759 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/1.922, allocations: 71.36 kB / 0.7759 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/1.922, allocations: 0 / 0.7759 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.0427/1.965, allocations: 57.12 MB / 0.8317 GB, free: 109.5 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.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.TestStodolaTurbine3CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3CalcHelperMain.o] Error 1