Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicReliefValve.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.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicReliefValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicReliefValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6857/0.6857, allocations: 150.8 MB / 166.7 MB, free: 15.69 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.17e-05/1.171e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 31.99 MB / 237.4 MB, free: 5.391 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.TestDynamicReliefValve): time 1.547/1.665, allocations: 295.5 MB / 0.5204 GB, free: 8.512 MB / 414.2 MB Notification: Performance of NFInst.instExpressions: time 0.1593/1.824, allocations: 186.1 MB / 0.7022 GB, free: 15.94 MB / 0.592 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004675/1.825, allocations: 8 kB / 0.7022 GB, free: 15.93 MB / 0.592 GB Notification: Performance of NFTyping.typeComponents: time 0.0005968/1.825, allocations: 350.8 kB / 0.7025 GB, free: 15.59 MB / 0.592 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/1.826, allocations: 0.5055 MB / 0.703 GB, free: 15.08 MB / 0.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.02054/1.847, allocations: 9.018 MB / 0.7118 GB, free: 6.059 MB / 0.592 GB Notification: Performance of NFFlatten.flatten: time 0.001139/1.848, allocations: 1.142 MB / 0.7129 GB, free: 4.91 MB / 0.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004753/1.849, allocations: 415.5 kB / 0.7133 GB, free: 4.488 MB / 0.592 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005159/1.849, allocations: 446.1 kB / 0.7138 GB, free: 4.051 MB / 0.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005674/1.85, allocations: 0.576 MB / 0.7143 GB, free: 3.473 MB / 0.592 GB Notification: Performance of NFPackage.collectConstants: time 7.62e-05/1.85, allocations: 32 kB / 0.7144 GB, free: 3.441 MB / 0.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2529/2.103, allocations: 20.36 MB / 0.7342 GB, free: 14.36 MB / 0.592 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/2.103, allocations: 275.5 kB / 0.7345 GB, free: 14.36 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.0003994/2.103, allocations: 0.5194 MB / 0.735 GB, free: 14.33 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.007714/2.111, allocations: 7.347 MB / 0.7422 GB, free: 14.07 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/2.111, allocations: 0 / 0.7422 GB, free: 14.07 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.483e-06/2.111, allocations: 0.7812 kB / 0.7422 GB, free: 14.07 MB / 0.592 GB Notification: Performance of Transformations before backend: time 9.518e-06/2.111, allocations: 0 / 0.7422 GB, free: 14.07 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.004243/2.115, allocations: 2.446 MB / 0.7446 GB, free: 12.71 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/2.115, allocations: 11 kB / 0.7446 GB, free: 12.71 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/2.116, allocations: 132.4 kB / 0.7447 GB, free: 12.64 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/2.116, allocations: 0.6683 MB / 0.7454 GB, free: 12.3 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/2.116, allocations: 79.14 kB / 0.7454 GB, free: 12.27 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/2.116, allocations: 60.11 kB / 0.7455 GB, free: 12.27 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/2.117, allocations: 0.9249 MB / 0.7464 GB, free: 12.06 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/2.117, allocations: 4.688 kB / 0.7464 GB, free: 12.06 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/2.117, allocations: 29.75 kB / 0.7464 GB, free: 12.06 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/2.117, allocations: 30.77 kB / 0.7465 GB, free: 12.06 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/2.118, allocations: 0.782 MB / 0.7472 GB, free: 12.05 MB / 0.592 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.01725/2.136, allocations: 12.76 MB / 0.7597 GB, free: 20.63 MB / 0.6077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/2.137, allocations: 0.6857 MB / 0.7604 GB, free: 20.59 MB / 0.6077 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/2.137, allocations: 383 kB / 0.7607 GB, free: 20.58 MB / 0.6077 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2775/2.415, allocations: 160.2 MB / 0.9172 GB, free: 2.484 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007962/2.416, allocations: 472.9 kB / 0.9176 GB, free: 2.145 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=109): time 2.335e-06/2.416, allocations: 3 kB / 0.9176 GB, free: 2.145 MB / 0.7483 GB Notification: Performance of matching and sorting (n=109): time 0.006934/2.423, allocations: 2.218 MB / 0.9198 GB, free: 316 kB / 0.7483 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/2.423, allocations: 166.2 kB / 0.9199 GB, free: 120 kB / 0.7483 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/2.424, allocations: 1.28 MB / 0.9212 GB, free: 15.13 MB / 0.7639 GB Notification: Performance of collectPreVariables (initialization): time 4.488e-05/2.424, allocations: 37.08 kB / 0.9212 GB, free: 15.1 MB / 0.7639 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/2.425, allocations: 459.2 kB / 0.9217 GB, free: 14.83 MB / 0.7639 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/2.425, allocations: 359.3 kB / 0.922 GB, free: 14.53 MB / 0.7639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-05/2.425, allocations: 91.16 kB / 0.9221 GB, free: 14.46 MB / 0.7639 GB Notification: Performance of setup shared object (initialization): time 0.0001046/2.425, allocations: 349.8 kB / 0.9224 GB, free: 14.13 MB / 0.7639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/2.426, allocations: 363.5 kB / 0.9228 GB, free: 13.9 MB / 0.7639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/2.426, allocations: 0.5299 MB / 0.9233 GB, free: 13.45 MB / 0.7639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/2.427, allocations: 0.8546 MB / 0.9241 GB, free: 12.84 MB / 0.7639 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/2.427, allocations: 0 / 0.9241 GB, free: 12.84 MB / 0.7639 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001795/2.429, allocations: 1.261 MB / 0.9254 GB, free: 11.96 MB / 0.7639 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/2.429, allocations: 8 kB / 0.9254 GB, free: 11.95 MB / 0.7639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/2.429, allocations: 4 kB / 0.9254 GB, free: 11.95 MB / 0.7639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003909/2.433, allocations: 1.152 MB / 0.9265 GB, free: 10.87 MB / 0.7639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/2.434, allocations: 106.1 kB / 0.9266 GB, free: 10.78 MB / 0.7639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/2.435, allocations: 1.124 MB / 0.9277 GB, free: 9.867 MB / 0.7639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/2.435, allocations: 122 kB / 0.9278 GB, free: 9.758 MB / 0.7639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/2.436, allocations: 36.38 kB / 0.9278 GB, free: 9.73 MB / 0.7639 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (diaphragm.C2.b,diaphragm.C1.a,bend.C2.b,bend.C1.a,sourceP.C.b,sinkP.C.a,pipe.C2.b,pipe.C1.a,reliefValve.C2.b,reliefValve.C1.a,reliefValve.clapper_is_free,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * 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: 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 {(7,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003406/2.436, allocations: 325.5 kB / 0.9282 GB, free: 9.488 MB / 0.7639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/2.436, allocations: 106.6 kB / 0.9283 GB, free: 9.383 MB / 0.7639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/2.438, allocations: 1.71 MB / 0.9299 GB, free: 8.242 MB / 0.7639 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001898/2.44, allocations: 1.208 MB / 0.9311 GB, free: 7.414 MB / 0.7639 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/2.44, allocations: 3.938 kB / 0.9311 GB, free: 7.41 MB / 0.7639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/2.44, allocations: 3.984 kB / 0.9311 GB, free: 7.406 MB / 0.7639 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/2.444, allocations: 2.817 MB / 0.9339 GB, free: 5.379 MB / 0.7639 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/2.444, allocations: 0 / 0.9339 GB, free: 5.379 MB / 0.7639 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/2.444, allocations: 146.2 kB / 0.934 GB, free: 5.25 MB / 0.7639 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/2.447, allocations: 1.089 MB / 0.9351 GB, free: 4.246 MB / 0.7639 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/2.448, allocations: 19.23 kB / 0.9351 GB, free: 4.238 MB / 0.7639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/2.449, allocations: 1.221 MB / 0.9363 GB, free: 3.25 MB / 0.7639 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/2.449, allocations: 5.531 kB / 0.9363 GB, free: 3.25 MB / 0.7639 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002834/2.452, allocations: 1.923 MB / 0.9382 GB, free: 1.906 MB / 0.7639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/2.452, allocations: 307.4 kB / 0.9385 GB, free: 1.629 MB / 0.7639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/2.452, allocations: 22.75 kB / 0.9385 GB, free: 1.621 MB / 0.7639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/2.452, allocations: 65.41 kB / 0.9385 GB, free: 1.57 MB / 0.7639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/2.453, allocations: 72.89 kB / 0.9386 GB, free: 1.512 MB / 0.7639 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/2.453, allocations: 31.48 kB / 0.9386 GB, free: 1.484 MB / 0.7639 GB Notification: Performance of sorting global known variables: time 0.0008831/2.454, allocations: 0.9492 MB / 0.9396 GB, free: 0.7812 MB / 0.7639 GB Notification: Performance of sort global known variables: time 1.31e-07/2.454, allocations: 0 / 0.9396 GB, free: 0.7812 MB / 0.7639 GB Notification: Performance of remove unused functions: time 0.003199/2.457, allocations: 1.684 MB / 0.9412 GB, free: 15.21 MB / 0.7795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (reliefValve.z,reliefValve.v,reliefValve.Wdyn) * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,reliefValve.clapper_is_free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004897/2.462, allocations: 2.399 MB / 0.9436 GB, free: 13.16 MB / 0.7795 GB Notification: Performance of simCode: created initialization part: time 0.001834/2.463, allocations: 1.196 MB / 0.9447 GB, free: 12.26 MB / 0.7795 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/2.464, allocations: 0 / 0.9447 GB, free: 12.26 MB / 0.7795 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/2.465, allocations: 0.6057 MB / 0.9453 GB, free: 11.84 MB / 0.7795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/2.466, allocations: 334.2 kB / 0.9456 GB, free: 11.59 MB / 0.7795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/2.469, allocations: 3.116 MB / 0.9487 GB, free: 8.746 MB / 0.7795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/2.47, allocations: 1.19 MB / 0.9498 GB, free: 7.562 MB / 0.7795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/2.47, allocations: 71.11 kB / 0.9499 GB, free: 7.496 MB / 0.7795 GB Notification: Performance of SimCode: time 2.31e-07/2.47, allocations: 0 / 0.9499 GB, free: 7.496 MB / 0.7795 GB Notification: Performance of Templates: time 0.1837/2.654, allocations: 42.03 MB / 0.991 GB, free: 455 MB / 0.8108 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicReliefValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicReliefValve.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.Examples.SimpleExamples.TestDynamicReliefValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicReliefValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicReliefValveCalcHelperMain.o] Error 1