Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker") translateModel(ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7056/0.7056, allocations: 150.8 MB / 166.7 MB, free: 15.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.371e-05/1.385e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1177, allocations: 31.98 MB / 237.4 MB, free: 5.414 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.TestLoopBreaker): time 1.33/1.448, allocations: 294.5 MB / 0.5194 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03298/1.481, allocations: 33.1 MB / 0.5517 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/1.481, allocations: 4 kB / 0.5517 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/1.481, allocations: 111.4 kB / 0.5519 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/1.481, allocations: 142.9 kB / 0.552 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01252/1.494, allocations: 6.439 MB / 0.5583 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005109/1.494, allocations: 0.5676 MB / 0.5588 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/1.495, allocations: 250.8 kB / 0.5591 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/1.495, allocations: 203 kB / 0.5593 GB, free: 3.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/1.495, allocations: 183 kB / 0.5594 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/1.495, allocations: 19.94 kB / 0.5595 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.019/1.514, allocations: 14.96 MB / 0.5741 GB, free: 4.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/1.514, allocations: 59.66 kB / 0.5741 GB, free: 4.672 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/1.514, allocations: 256.4 kB / 0.5744 GB, free: 4.414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005063/1.52, allocations: 5.262 MB / 0.5795 GB, free: 15.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/1.52, allocations: 4 kB / 0.5795 GB, free: 15.13 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.172e-06/1.52, allocations: 0 / 0.5795 GB, free: 15.13 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/1.52, allocations: 0 / 0.5795 GB, free: 15.13 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.002361/1.522, allocations: 1.439 MB / 0.5809 GB, free: 13.64 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/1.522, allocations: 12.03 kB / 0.5809 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/1.522, allocations: 63.19 kB / 0.581 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/1.522, allocations: 284.1 kB / 0.5813 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/1.522, allocations: 40.98 kB / 0.5813 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/1.522, allocations: 48 kB / 0.5813 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007063/1.523, allocations: 0.5979 MB / 0.5819 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/1.523, allocations: 11.94 kB / 0.5819 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/1.523, allocations: 16 kB / 0.582 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/1.523, allocations: 31.92 kB / 0.582 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/1.524, allocations: 336 kB / 0.5823 GB, free: 12.13 MB / 478.1 MB 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.002381/1.526, allocations: 3.806 MB / 0.586 GB, free: 7.918 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/1.526, allocations: 211.3 kB / 0.5862 GB, free: 7.703 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/1.527, allocations: 138 kB / 0.5864 GB, free: 7.566 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0708/1.597, allocations: 44.48 MB / 0.6298 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/1.597, allocations: 30.56 kB / 0.6298 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 1.824e-06/1.597, allocations: 0 / 0.6298 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55): time 0.00155/1.599, allocations: 0.8205 MB / 0.6306 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/1.599, allocations: 55.41 kB / 0.6307 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/1.599, allocations: 324.2 kB / 0.631 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/1.599, allocations: 29.7 kB / 0.631 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/1.6, allocations: 224.8 kB / 0.6312 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/1.6, allocations: 181.3 kB / 0.6314 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/1.6, allocations: 61.67 kB / 0.6315 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.6, allocations: 346.8 kB / 0.6318 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/1.6, allocations: 100.6 kB / 0.6319 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/1.6, allocations: 226.4 kB / 0.6321 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/1.601, allocations: 377.1 kB / 0.6325 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.601, allocations: 4 kB / 0.6325 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007331/1.601, allocations: 0.4969 MB / 0.6329 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.601, allocations: 4 kB / 0.633 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.601, allocations: 4 kB / 0.633 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005015/1.602, allocations: 261.5 kB / 0.6332 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/1.602, allocations: 39.92 kB / 0.6332 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/1.604, allocations: 2.537 MB / 0.6357 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/1.604, allocations: 59.22 kB / 0.6358 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/1.604, allocations: 12 kB / 0.6358 GB, free: 14.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 14 (loopBreakerP.C2.b,loopBreakerP.C1.a,sink.C.a,mixer2_1.Ce1.a,mixer2_1.Cs.b,mixer2_1.Ce2.a,splitter2_1.Cs2.b,splitter2_1.Cs1.b,splitter2_1.Ce.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sourcePQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001484/1.604, allocations: 169.8 kB / 0.636 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/1.604, allocations: 43.58 kB / 0.636 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000952/1.605, allocations: 0.7957 MB / 0.6368 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007332/1.606, allocations: 0.5839 MB / 0.6373 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/1.606, allocations: 0 / 0.6373 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.606, allocations: 4 kB / 0.6373 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/1.608, allocations: 1.837 MB / 0.6391 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/1.608, allocations: 4 kB / 0.6391 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/1.608, allocations: 95.77 kB / 0.6392 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004052/1.609, allocations: 276.5 kB / 0.6395 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/1.609, allocations: 16 kB / 0.6395 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/1.61, allocations: 2.554 MB / 0.642 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.61, allocations: 8.062 kB / 0.642 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007664/1.611, allocations: 0.8198 MB / 0.6428 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/1.611, allocations: 184.1 kB / 0.643 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/1.611, allocations: 19.98 kB / 0.643 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/1.611, allocations: 16 kB / 0.643 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/1.611, allocations: 51.83 kB / 0.6431 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/1.611, allocations: 20 kB / 0.6431 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002251/1.612, allocations: 275.2 kB / 0.6434 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.612, allocations: 0 / 0.6434 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00199/1.614, allocations: 1.14 MB / 0.6445 GB, free: 5.602 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,1,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.003331/1.617, allocations: 1.596 MB / 0.646 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008773/1.618, allocations: 0.7082 MB / 0.6467 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.618, allocations: 0 / 0.6467 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005169/1.618, allocations: 412.9 kB / 0.6471 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.62, allocations: 216 kB / 0.6473 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/1.621, allocations: 1.435 MB / 0.6487 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/1.621, allocations: 0.8989 MB / 0.6496 GB, free: 188 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/1.621, allocations: 39.44 kB / 0.6496 GB, free: 148 kB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/1.621, allocations: 4 kB / 0.6496 GB, free: 144 kB / 0.5294 GB Notification: Performance of Templates: time 0.03042/1.652, allocations: 31.67 MB / 0.6806 GB, free: 456 kB / 0.5606 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.makefile make -j1 -f ThermoSysPro_ThermoSysPro.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreakerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreakerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreakerCalcHelperMain.o] Error 1