Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.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.TestStaticDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.685/0.685, allocations: 150.8 MB / 166.7 MB, free: 15.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.306e-05/1.347e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 31.99 MB / 237.4 MB, free: 5.383 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.TestStaticDrum2): time 1.31/1.427, allocations: 295.5 MB / 0.5204 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03328/1.46, allocations: 35.11 MB / 0.5547 GB, free: 8.594 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/1.461, allocations: 4 kB / 0.5547 GB, free: 8.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/1.461, allocations: 163 kB / 0.5549 GB, free: 8.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/1.461, allocations: 238.2 kB / 0.5551 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01299/1.474, allocations: 6.793 MB / 0.5617 GB, free: 1.395 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007711/1.475, allocations: 0.9487 MB / 0.5627 GB, free: 452 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/1.475, allocations: 337.1 kB / 0.563 GB, free: 116 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/1.476, allocations: 306.6 kB / 0.5633 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/1.476, allocations: 306.3 kB / 0.5636 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/1.476, allocations: 28 kB / 0.5636 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02009/1.496, allocations: 15.84 MB / 0.5791 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/1.496, allocations: 115.4 kB / 0.5792 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002991/1.497, allocations: 387.7 kB / 0.5795 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005653/1.502, allocations: 5.683 MB / 0.5851 GB, free: 9.422 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/1.502, allocations: 0 / 0.5851 GB, free: 9.422 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/1.502, allocations: 0 / 0.5851 GB, free: 9.422 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/1.502, allocations: 0 / 0.5851 GB, free: 9.422 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.002813/1.505, allocations: 1.689 MB / 0.5867 GB, free: 7.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/1.505, allocations: 12.03 kB / 0.5867 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/1.505, allocations: 94.81 kB / 0.5868 GB, free: 7.574 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/1.506, allocations: 358.7 kB / 0.5872 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/1.506, allocations: 50 kB / 0.5872 GB, free: 7.137 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/1.506, allocations: 72 kB / 0.5873 GB, free: 7.066 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/1.507, allocations: 0.9236 MB / 0.5882 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/1.507, allocations: 4 kB / 0.5882 GB, free: 6.047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/1.507, allocations: 36 kB / 0.5882 GB, free: 6.012 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/1.507, allocations: 34.17 kB / 0.5883 GB, free: 5.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006882/1.508, allocations: 0.5248 MB / 0.5888 GB, free: 5.453 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.003844/1.512, allocations: 6.046 MB / 0.5947 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/1.512, allocations: 292 kB / 0.595 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/1.512, allocations: 198.1 kB / 0.5952 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1447/1.657, allocations: 81.17 MB / 0.6744 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/1.657, allocations: 30.56 kB / 0.6745 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 3.227e-06/1.657, allocations: 0 / 0.6745 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.002202/1.659, allocations: 1.203 MB / 0.6756 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/1.659, allocations: 55.41 kB / 0.6757 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/1.66, allocations: 449.4 kB / 0.6761 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/1.66, allocations: 29.7 kB / 0.6761 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/1.66, allocations: 331.7 kB / 0.6765 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/1.66, allocations: 268 kB / 0.6767 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/1.66, allocations: 85.66 kB / 0.6768 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.66, allocations: 366.8 kB / 0.6771 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/1.661, allocations: 153.5 kB / 0.6773 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/1.661, allocations: 408.2 kB / 0.6777 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/1.662, allocations: 0.6268 MB / 0.6783 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/1.662, allocations: 4 kB / 0.6783 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00118/1.663, allocations: 0.8208 MB / 0.6791 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.663, allocations: 8.938 kB / 0.6791 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/1.663, allocations: 12 kB / 0.6791 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009753/1.664, allocations: 0.6695 MB / 0.6798 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/1.664, allocations: 55.86 kB / 0.6798 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/1.666, allocations: 3.255 MB / 0.683 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/1.667, allocations: 94.84 kB / 0.6831 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/1.667, allocations: 28 kB / 0.6831 GB, free: 10.74 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 26 (sensorT1.C2.b,sensorT1.C1.a,sinkP2.C.a,singularPressureLossVALI3.C2.b,singularPressureLossVALI3.C1.a,sourcePQ.C.b,sensorT.C2.b,sensorT.C1.a,sinkP1.C.a,singularPressureLossVALI2.C2.b,singularPressureLossVALI2.C1.a,singularPressureLossVALI1.C2.b,singularPressureLossVALI1.C1.a,StaticDrumTh1.Ce_sup.a,StaticDrumTh1.Ce_steam.a,StaticDrumTh1.Cs_purg.b,StaticDrumTh1.Cs_sur.b,StaticDrumTh1.Cs_eva.b,StaticDrumTh1.Cs_sup.b,StaticDrumTh1.Ce_eco.a,StaticDrumTh1.Ce_eva.a,StaticDrumTh1.Cs_sup.a,StaticDrumTh1.Cs_eva.a,StaticDrumTh1.Ce_eva.b,StaticDrumTh1.Ce_sup.b,StaticDrumTh1.Ce_steam.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002207/1.667, allocations: 216.9 kB / 0.6833 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/1.667, allocations: 63.19 kB / 0.6834 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/1.668, allocations: 1.179 MB / 0.6845 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001022/1.669, allocations: 0.8759 MB / 0.6854 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.669, allocations: 0 / 0.6854 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.669, allocations: 3.984 kB / 0.6854 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/1.672, allocations: 2.147 MB / 0.6875 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.672, allocations: 4 kB / 0.6875 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/1.672, allocations: 95.91 kB / 0.6876 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008401/1.673, allocations: 0.6845 MB / 0.6883 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/1.673, allocations: 16 kB / 0.6883 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/1.675, allocations: 3.294 MB / 0.6915 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.675, allocations: 3.938 kB / 0.6915 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/1.676, allocations: 1.01 MB / 0.6925 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/1.676, allocations: 203.8 kB / 0.6927 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/1.676, allocations: 11.94 kB / 0.6927 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/1.676, allocations: 39.89 kB / 0.6927 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/1.677, allocations: 40.59 kB / 0.6928 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/1.677, allocations: 16 kB / 0.6928 GB, free: 468 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000235/1.677, allocations: 287.1 kB / 0.693 GB, free: 180 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.677, allocations: 0 / 0.693 GB, free: 180 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.1387/1.816, allocations: 1.22 MB / 0.6942 GB, free: 226.6 MB / 0.5762 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 (59): * Single equations (assignments): 53 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004266/1.82, allocations: 1.627 MB / 0.6958 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001347/1.821, allocations: 1.016 MB / 0.6968 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.821, allocations: 1.031 kB / 0.6968 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007128/1.822, allocations: 0.5615 MB / 0.6974 GB, free: 226 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/1.823, allocations: 274.9 kB / 0.6976 GB, free: 226 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/1.825, allocations: 1.918 MB / 0.6995 GB, free: 225 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/1.825, allocations: 1.008 MB / 0.7005 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.167e-05/1.825, allocations: 48.28 kB / 0.7005 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of SimCode: time 2.01e-07/1.826, allocations: 0 / 0.7005 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.032/1.858, allocations: 41.39 MB / 0.741 GB, free: 204 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.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.TestStaticDrum2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2CalcHelperMain.o] Error 1