Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestThreeWayValve.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.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestThreeWayValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestThreeWayValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7029/0.7029, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.619e-05, allocations: 11.92 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1181, allocations: 31.98 MB / 237.4 MB, free: 5.395 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.TestThreeWayValve): time 1.342/1.46, allocations: 295.6 MB / 0.5205 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03617/1.496, allocations: 37.9 MB / 0.5576 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/1.497, allocations: 4 kB / 0.5576 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/1.497, allocations: 167 kB / 0.5577 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004118/1.497, allocations: 270.1 kB / 0.558 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01561/1.513, allocations: 7.583 MB / 0.5654 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008649/1.514, allocations: 0.996 MB / 0.5664 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/1.514, allocations: 377.7 kB / 0.5667 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003173/1.515, allocations: 322.4 kB / 0.567 GB, free: 12 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/1.515, allocations: 314.2 kB / 0.5673 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/1.515, allocations: 24 kB / 0.5673 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02271/1.538, allocations: 17.82 MB / 0.5847 GB, free: 9.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/1.538, allocations: 123.3 kB / 0.5849 GB, free: 9.699 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/1.538, allocations: 411.4 kB / 0.5853 GB, free: 9.289 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006492/1.545, allocations: 6.178 MB / 0.5913 GB, free: 3.094 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/1.545, allocations: 0 / 0.5913 GB, free: 3.094 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/1.545, allocations: 0 / 0.5913 GB, free: 3.094 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.317e-05/1.545, allocations: 4 kB / 0.5913 GB, free: 3.09 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003803/1.549, allocations: 1.828 MB / 0.5931 GB, free: 1.211 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/1.549, allocations: 12.03 kB / 0.5931 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/1.549, allocations: 90.88 kB / 0.5932 GB, free: 1.109 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/1.549, allocations: 452.1 kB / 0.5936 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/1.549, allocations: 45.31 kB / 0.5936 GB, free: 0.582 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-05/1.549, allocations: 71.94 kB / 0.5937 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/1.55, allocations: 0.8645 MB / 0.5946 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/1.55, allocations: 0 / 0.5946 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/1.55, allocations: 28 kB / 0.5946 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/1.55, allocations: 35.98 kB / 0.5946 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008224/1.551, allocations: 0.5591 MB / 0.5952 GB, free: 14.96 MB / 494.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.0489/1.6, allocations: 29.78 MB / 0.6242 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/1.601, allocations: 384.2 kB / 0.6246 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/1.601, allocations: 279 kB / 0.6249 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2638/1.865, allocations: 77.93 MB / 0.701 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/1.865, allocations: 37.11 kB / 0.701 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=91): time 2.575e-06/1.865, allocations: 3.875 kB / 0.701 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91): time 0.002849/1.868, allocations: 1.295 MB / 0.7023 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/1.868, allocations: 82.59 kB / 0.7024 GB, free: 219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/1.868, allocations: 0.5064 MB / 0.7029 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/1.869, allocations: 31.61 kB / 0.7029 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/1.869, allocations: 336 kB / 0.7032 GB, free: 218.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/1.869, allocations: 301.9 kB / 0.7035 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/1.869, allocations: 75.23 kB / 0.7036 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/1.869, allocations: 379.8 kB / 0.7039 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/1.869, allocations: 214.5 kB / 0.7041 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/1.87, allocations: 370.8 kB / 0.7045 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007262/1.87, allocations: 0.6377 MB / 0.7051 GB, free: 217.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.87, allocations: 1.125 kB / 0.7051 GB, free: 217.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001305/1.872, allocations: 0.9033 MB / 0.706 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.872, allocations: 8.094 kB / 0.706 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.872, allocations: 3.531 kB / 0.706 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/1.874, allocations: 0.9847 MB / 0.707 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/1.875, allocations: 41.64 kB / 0.707 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/1.876, allocations: 1.091 MB / 0.7081 GB, free: 217.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/1.876, allocations: 84.59 kB / 0.7082 GB, free: 217.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/1.876, allocations: 21.16 kB / 0.7082 GB, free: 217.2 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: 14 (PuitsP2.C.a,threeWayValve.PerteDP1.C2.b,threeWayValve.PerteDP1.C1.a,threeWayValve.VolumeA1.Cs2.b,threeWayValve.VolumeA1.Cs1.b,threeWayValve.VolumeA1.Ce2.a,threeWayValve.VolumeA1.Ce1.a,threeWayValve.Valve2.C2.b,threeWayValve.Valve2.C1.a,threeWayValve.Valve1.C2.b,threeWayValve.Valve1.C1.a,PuitsP1.C.a,SourceP1.C.b,threeWayValve.VolumeA1.Ce2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001995/1.876, allocations: 232.3 kB / 0.7084 GB, free: 217 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/1.876, allocations: 62.03 kB / 0.7085 GB, free: 217 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/1.878, allocations: 2.154 MB / 0.7106 GB, free: 216.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009824/1.879, allocations: 0.8208 MB / 0.7114 GB, free: 216.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.879, allocations: 0.625 kB / 0.7114 GB, free: 216.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/1.879, allocations: 8.203 kB / 0.7114 GB, free: 216.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/1.881, allocations: 2.144 MB / 0.7135 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.881, allocations: 0.6562 kB / 0.7135 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/1.881, allocations: 87.16 kB / 0.7135 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/1.883, allocations: 0.7366 MB / 0.7143 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/1.883, allocations: 10.66 kB / 0.7143 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007843/1.884, allocations: 1.031 MB / 0.7153 GB, free: 215.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.884, allocations: 4.156 kB / 0.7153 GB, free: 215.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/1.885, allocations: 1.302 MB / 0.7166 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/1.885, allocations: 246 kB / 0.7168 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/1.885, allocations: 13.09 kB / 0.7168 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/1.886, allocations: 31.12 kB / 0.7168 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/1.886, allocations: 45.05 kB / 0.7169 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/1.886, allocations: 15.78 kB / 0.7169 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003684/1.886, allocations: 466.8 kB / 0.7173 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.01e-07/1.886, allocations: 1.688 kB / 0.7173 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002311/1.888, allocations: 1.315 MB / 0.7186 GB, free: 215 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (threeWayValve.VolumeA1.h) * 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 (48): * Single equations (assignments): 46 * 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 {(6,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00345/1.892, allocations: 1.782 MB / 0.7204 GB, free: 214.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001173/1.893, allocations: 0.859 MB / 0.7212 GB, free: 214.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.893, allocations: 2.375 kB / 0.7212 GB, free: 214.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006496/1.894, allocations: 414.6 kB / 0.7216 GB, free: 214.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/1.895, allocations: 335 kB / 0.7219 GB, free: 214.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/1.897, allocations: 2.048 MB / 0.7239 GB, free: 213.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/1.897, allocations: 1.009 MB / 0.7249 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/1.897, allocations: 44.78 kB / 0.7249 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/1.897, allocations: 0 / 0.7249 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.02709/1.924, allocations: 33.39 MB / 0.7576 GB, free: 190.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestThreeWayValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestThreeWayValve.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.TestThreeWayValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestThreeWayValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestThreeWayValveCalcHelperMain.o] Error 1