Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.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.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7345/0.7345, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.405e-05/1.406e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1383, allocations: 31.99 MB / 237.4 MB, free: 5.426 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.TestLoopBreaker): time 1.43/1.568, allocations: 295.5 MB / 0.5204 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.178/1.746, allocations: 186.7 MB / 0.7028 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/1.747, allocations: 15.94 kB / 0.7028 GB, free: 464 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/1.747, allocations: 75.33 kB / 0.7028 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007401/1.748, allocations: 258 kB / 0.7031 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2872/2.035, allocations: 9.083 MB / 0.712 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009527/2.036, allocations: 1.041 MB / 0.713 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004623/2.036, allocations: 0.537 MB / 0.7135 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/2.037, allocations: 355.5 kB / 0.7138 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/2.037, allocations: 404.5 kB / 0.7142 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/2.037, allocations: 46.59 kB / 0.7143 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02473/2.062, allocations: 16.9 MB / 0.7308 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000201/2.062, allocations: 174 kB / 0.7309 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005496/2.063, allocations: 484.2 kB / 0.7314 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00893/2.072, allocations: 6.438 MB / 0.7377 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/2.072, allocations: 0 / 0.7377 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/2.072, allocations: 0 / 0.7377 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.053e-05/2.072, allocations: 2.688 kB / 0.7377 GB, free: 2.016 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.003802/2.075, allocations: 1.977 MB / 0.7396 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/2.075, allocations: 10.75 kB / 0.7396 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/2.076, allocations: 127.5 kB / 0.7397 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/2.076, allocations: 491 kB / 0.7402 GB, free: 344 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/2.076, allocations: 79.2 kB / 0.7403 GB, free: 340 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.554e-05/2.076, allocations: 108.8 kB / 0.7404 GB, free: 340 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/2.078, allocations: 1.179 MB / 0.7415 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/2.078, allocations: 5.219 kB / 0.7416 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-05/2.078, allocations: 47.59 kB / 0.7416 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/2.078, allocations: 41.88 kB / 0.7416 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/2.079, allocations: 0.7099 MB / 0.7423 GB, free: 15.72 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.07141/2.15, allocations: 39.06 MB / 0.7805 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/2.151, allocations: 245.9 kB / 0.7807 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/2.151, allocations: 132.6 kB / 0.7808 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5306/2.681, allocations: 207.8 MB / 0.9838 GB, free: 477.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/2.681, allocations: 40.78 kB / 0.9838 GB, free: 477.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=29): time 2.865e-06/2.681, allocations: 0 / 0.9838 GB, free: 477.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29): time 0.002121/2.684, allocations: 0.9207 MB / 0.9847 GB, free: 477.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/2.684, allocations: 58.06 kB / 0.9848 GB, free: 477.1 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006958/2.684, allocations: 0.5584 MB / 0.9853 GB, free: 477 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/2.684, allocations: 30.67 kB / 0.9853 GB, free: 477 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/2.685, allocations: 0.5046 MB / 0.9858 GB, free: 476.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/2.685, allocations: 111.4 kB / 0.9859 GB, free: 476.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/2.685, allocations: 82.73 kB / 0.986 GB, free: 476.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.738e-05/2.685, allocations: 361.5 kB / 0.9863 GB, free: 476.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/2.685, allocations: 173.8 kB / 0.9865 GB, free: 476.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/2.686, allocations: 0.5171 MB / 0.987 GB, free: 475.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/2.686, allocations: 0.7245 MB / 0.9877 GB, free: 475.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/2.686, allocations: 3.281 kB / 0.9877 GB, free: 475.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001663/2.688, allocations: 0.8938 MB / 0.9886 GB, free: 475.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/2.688, allocations: 11.39 kB / 0.9886 GB, free: 475.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/2.688, allocations: 14.12 kB / 0.9886 GB, free: 475.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006581/2.689, allocations: 178.3 kB / 0.9888 GB, free: 475.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/2.689, allocations: 144.2 kB / 0.9889 GB, free: 475.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/2.691, allocations: 2.695 MB / 0.9916 GB, free: 472.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/2.692, allocations: 122.2 kB / 0.9917 GB, free: 472.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/2.692, allocations: 38.52 kB / 0.9917 GB, free: 472.9 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 22 (splitter2_1.Cs2.ftype,mixer2_1.Cs.ftype,splitter2_1.Cs1.ftype,mixer2_1.fluids[1],sourcePQ.C.ftype,splitter2_1.fluids[1],singularPressureLoss1.fluid,singularPressureLoss2.fluid,sink.fluid,mixer2_1.fluid1,splitter2_1.fluid1,sourcePQ.fluid1,mixer2_1.Ce2.diff_on_2,splitter2_1.Cs2.diff_on_2,splitter2_1.Cs2.diff_on_1,loopBreakerP.C2.diff_on_1,mixer2_1.Cs.diff_on_1,mixer2_1.Ce1.diff_on_2,splitter2_1.Cs1.diff_on_2,splitter2_1.Cs1.diff_on_1,mixer2_1.Ce1.diff_on_1,splitter2_1.Ce.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002996/2.692, allocations: 246.6 kB / 0.992 GB, free: 472.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/2.692, allocations: 62.52 kB / 0.992 GB, free: 472.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/2.693, allocations: 0.5082 MB / 0.9925 GB, free: 472.6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/2.693, allocations: 6.656 kB / 0.9925 GB, free: 472.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/2.693, allocations: 4.719 kB / 0.9925 GB, free: 472.6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/2.693, allocations: 1.562 kB / 0.9925 GB, free: 472.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/2.695, allocations: 1.291 MB / 0.9938 GB, free: 472.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/2.695, allocations: 4.031 kB / 0.9938 GB, free: 472.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/2.695, allocations: 30.58 kB / 0.9938 GB, free: 472.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004676/2.696, allocations: 167 kB / 0.994 GB, free: 472.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/2.696, allocations: 14.81 kB / 0.994 GB, free: 472.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/2.697, allocations: 2.646 MB / 0.9966 GB, free: 469.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/2.697, allocations: 3.281 kB / 0.9966 GB, free: 469.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007932/2.698, allocations: 0.5597 MB / 0.9971 GB, free: 469.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/2.698, allocations: 165 kB / 0.9973 GB, free: 469.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/2.698, allocations: 11.97 kB / 0.9973 GB, free: 469.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/2.698, allocations: 47.72 kB / 0.9973 GB, free: 469.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/2.698, allocations: 30.44 kB / 0.9974 GB, free: 469.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/2.698, allocations: 18.31 kB / 0.9974 GB, free: 469.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003238/2.699, allocations: 360.8 kB / 0.9977 GB, free: 469.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/2.699, allocations: 1.938 kB / 0.9977 GB, free: 469.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003249/2.702, allocations: 1.409 MB / 0.9991 GB, free: 469.2 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (18): * Single equations (assignments): 15 * 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 {(2,4,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.005317/2.707, allocations: 1.939 MB / 1.001 GB, free: 469 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008635/2.708, allocations: 0.5652 MB / 1.002 GB, free: 468.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.944e-06/2.708, allocations: 2.719 kB / 1.002 GB, free: 468.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000358/2.709, allocations: 264.8 kB / 1.002 GB, free: 468.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008561/2.71, allocations: 157.1 kB / 1.002 GB, free: 468.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/2.711, allocations: 1.624 MB / 1.004 GB, free: 467.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/2.711, allocations: 0.9591 MB / 1.004 GB, free: 467 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.628e-05/2.711, allocations: 53.28 kB / 1.005 GB, free: 467 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/2.711, allocations: 0 / 1.005 GB, free: 467 MB / 0.8262 GB Notification: Performance of Templates: time 0.03603/2.747, allocations: 38.62 MB / 1.042 GB, free: 446.5 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.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.TestLoopBreakerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreakerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreakerCalcHelperMain.o] Error 1