Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.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.TestStaticCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6785/0.6785, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.286e-05/1.287e-05, allocations: 4 kB / 205.4 MB, free: 10.15 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, 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.TestStaticCentrifugalPump2): time 1.288/1.4, allocations: 294.5 MB / 0.5194 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03341/1.433, allocations: 33.57 MB / 0.5522 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/1.433, allocations: 4 kB / 0.5522 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/1.434, allocations: 115.4 kB / 0.5523 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/1.434, allocations: 150.8 kB / 0.5524 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01318/1.447, allocations: 6.618 MB / 0.5589 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006201/1.448, allocations: 0.6857 MB / 0.5596 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/1.448, allocations: 246.8 kB / 0.5598 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/1.448, allocations: 258.9 kB / 0.5601 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/1.449, allocations: 278.7 kB / 0.5603 GB, free: 2.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/1.449, allocations: 24 kB / 0.5603 GB, free: 2.832 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01926/1.468, allocations: 14.98 MB / 0.575 GB, free: 3.832 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/1.468, allocations: 91.53 kB / 0.5751 GB, free: 3.742 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/1.468, allocations: 284.3 kB / 0.5753 GB, free: 3.457 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005365/1.474, allocations: 5.278 MB / 0.5805 GB, free: 14.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/1.474, allocations: 0 / 0.5805 GB, free: 14.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/1.474, allocations: 0 / 0.5805 GB, free: 14.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/1.474, allocations: 0 / 0.5805 GB, free: 14.16 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003893/1.478, allocations: 1.743 MB / 0.5822 GB, free: 12.37 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/1.478, allocations: 8.031 kB / 0.5822 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.542e-05/1.478, allocations: 67.19 kB / 0.5823 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/1.478, allocations: 337.6 kB / 0.5826 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/1.478, allocations: 62.7 kB / 0.5826 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-05/1.478, allocations: 40 kB / 0.5827 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/1.479, allocations: 0.6806 MB / 0.5833 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.479, allocations: 0 / 0.5833 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/1.48, allocations: 17.36 kB / 0.5834 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/1.48, allocations: 23.92 kB / 0.5834 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/1.481, allocations: 0.6975 MB / 0.5841 GB, free: 10.37 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.002633/1.484, allocations: 3.138 MB / 0.5871 GB, free: 6.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/1.485, allocations: 0.6086 MB / 0.5877 GB, free: 6.312 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008266/1.486, allocations: 352 kB / 0.5881 GB, free: 5.969 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07101/1.557, allocations: 44.48 MB / 0.6315 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/1.558, allocations: 402.6 kB / 0.6319 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.304e-06/1.558, allocations: 0 / 0.6319 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.01072/1.569, allocations: 2.832 MB / 0.6346 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/1.569, allocations: 55.41 kB / 0.6347 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/1.569, allocations: 329.6 kB / 0.635 GB, free: 268 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/1.569, allocations: 29.7 kB / 0.635 GB, free: 232 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/1.57, allocations: 236.8 kB / 0.6353 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/1.57, allocations: 228.6 kB / 0.6355 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/1.57, allocations: 61.67 kB / 0.6355 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.57, allocations: 362.8 kB / 0.6359 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/1.571, allocations: 297.4 kB / 0.6362 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008758/1.572, allocations: 457.2 kB / 0.6366 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006638/1.578, allocations: 1.953 MB / 0.6385 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/1.578, allocations: 4 kB / 0.6385 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003876/1.582, allocations: 1.31 MB / 0.6398 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.582, allocations: 11.92 kB / 0.6398 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.582, allocations: 8.25 kB / 0.6398 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002818/1.585, allocations: 0.8873 MB / 0.6407 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/1.586, allocations: 171.8 kB / 0.6408 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/1.587, allocations: 1.618 MB / 0.6424 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/1.588, allocations: 115.4 kB / 0.6425 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/1.588, allocations: 27.98 kB / 0.6426 GB, free: 8.301 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,pulse.T0,VanneReglante1.C2.b,VanneReglante1.C1.a,Bache1.Cs1.b,Bache1.Ce2.a,Bache1.Cs2.b,Bache1.Ce1.a,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a,Bache1.Cs1.a,Bache1.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(7,16), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002201/1.588, allocations: 179.1 kB / 0.6427 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/1.588, allocations: 43.44 kB / 0.6428 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/1.592, allocations: 1.649 MB / 0.6444 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002306/1.595, allocations: 1.111 MB / 0.6455 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.595, allocations: 3.938 kB / 0.6455 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/1.595, allocations: 7.984 kB / 0.6455 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/1.599, allocations: 2.259 MB / 0.6477 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/1.599, allocations: 4 kB / 0.6477 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008321/1.599, allocations: 199.8 kB / 0.6479 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/1.601, allocations: 0.7396 MB / 0.6486 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/1.601, allocations: 19.98 kB / 0.6486 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/1.603, allocations: 1.657 MB / 0.6502 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.603, allocations: 3.938 kB / 0.6502 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/1.606, allocations: 1.745 MB / 0.6519 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/1.606, allocations: 184.1 kB / 0.6521 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/1.607, allocations: 12 kB / 0.6521 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/1.607, allocations: 87.86 kB / 0.6522 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.607, allocations: 48.58 kB / 0.6523 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/1.607, allocations: 27.98 kB / 0.6523 GB, free: 14.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001796/1.607, allocations: 223.2 kB / 0.6525 GB, free: 13.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/1.607, allocations: 4 kB / 0.6525 GB, free: 13.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002166/1.61, allocations: 1.151 MB / 0.6536 GB, free: 12.75 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Bache1.z,Bache1.h) * Number of discrete variables: 2 ($whenCondition1,pulse.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(7,18), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003386/1.613, allocations: 1.6 MB / 0.6552 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002368/1.615, allocations: 1.037 MB / 0.6562 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.615, allocations: 0.5625 kB / 0.6562 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/1.617, allocations: 0.5695 MB / 0.6568 GB, free: 9.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009082/1.618, allocations: 186.5 kB / 0.6569 GB, free: 9.352 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/1.62, allocations: 1.729 MB / 0.6586 GB, free: 7.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/1.62, allocations: 0.9035 MB / 0.6595 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/1.62, allocations: 47.36 kB / 0.6596 GB, free: 6.613 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/1.62, allocations: 0 / 0.6596 GB, free: 6.613 MB / 0.545 GB Notification: Performance of Templates: time 0.02938/1.65, allocations: 29.37 MB / 0.6882 GB, free: 9.211 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.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.TestStaticCentrifugalPump2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2CalcHelperMain.o] Error 1