Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1.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.TestDynamicCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6775/0.6775, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.232e-05/1.232e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 31.98 MB / 237.4 MB, free: 5.422 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.TestDynamicCentrifugalPump1): time 1.286/1.402, allocations: 294.7 MB / 0.5196 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03205/1.434, allocations: 33.68 MB / 0.5525 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/1.435, allocations: 4 kB / 0.5525 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/1.435, allocations: 115.3 kB / 0.5526 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/1.435, allocations: 162.8 kB / 0.5528 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01322/1.448, allocations: 6.655 MB / 0.5592 GB, free: 3.914 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006347/1.449, allocations: 0.7596 MB / 0.56 GB, free: 3.148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/1.449, allocations: 275.5 kB / 0.5603 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/1.45, allocations: 274.8 kB / 0.5605 GB, free: 2.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/1.45, allocations: 318.5 kB / 0.5608 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/1.45, allocations: 28 kB / 0.5608 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01895/1.469, allocations: 14.98 MB / 0.5755 GB, free: 3.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/1.469, allocations: 111.5 kB / 0.5756 GB, free: 3.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/1.469, allocations: 312.1 kB / 0.5759 GB, free: 2.848 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005229/1.475, allocations: 5.34 MB / 0.5811 GB, free: 13.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/1.475, allocations: 0 / 0.5811 GB, free: 13.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.273e-06/1.475, allocations: 0 / 0.5811 GB, free: 13.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/1.475, allocations: 0 / 0.5811 GB, free: 13.49 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.003982/1.479, allocations: 1.801 MB / 0.5829 GB, free: 11.64 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/1.479, allocations: 12.03 kB / 0.5829 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.983e-05/1.479, allocations: 75.09 kB / 0.5829 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/1.479, allocations: 354.3 kB / 0.5833 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.603e-05/1.479, allocations: 66.7 kB / 0.5833 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/1.479, allocations: 51.98 kB / 0.5834 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/1.481, allocations: 0.7457 MB / 0.5841 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/1.481, allocations: 7.938 kB / 0.5841 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/1.481, allocations: 16 kB / 0.5841 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/1.481, allocations: 19.94 kB / 0.5842 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/1.482, allocations: 0.7454 MB / 0.5849 GB, free: 9.473 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.00281/1.485, allocations: 3.289 MB / 0.5881 GB, free: 5.875 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/1.487, allocations: 0.8029 MB / 0.5889 GB, free: 5.066 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008873/1.488, allocations: 390.3 kB / 0.5893 GB, free: 4.684 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07157/1.56, allocations: 44.47 MB / 0.6327 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/1.561, allocations: 438.4 kB / 0.6331 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=77): time 2.685e-06/1.561, allocations: 4 kB / 0.6331 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of matching and sorting (n=77): time 0.006535/1.568, allocations: 2.172 MB / 0.6352 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/1.568, allocations: 63.83 kB / 0.6353 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/1.568, allocations: 353.4 kB / 0.6356 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/1.568, allocations: 29.7 kB / 0.6357 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.568, allocations: 240.7 kB / 0.6359 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/1.568, allocations: 268 kB / 0.6361 GB, free: 15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/1.568, allocations: 77.67 kB / 0.6362 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.569, allocations: 366.7 kB / 0.6366 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008941/1.569, allocations: 325.5 kB / 0.6369 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009435/1.57, allocations: 486.1 kB / 0.6373 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007025/1.577, allocations: 2.091 MB / 0.6394 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.577, allocations: 0 / 0.6394 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.004158/1.582, allocations: 1.445 MB / 0.6408 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.582, allocations: 5.406 kB / 0.6408 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.582, allocations: 7.984 kB / 0.6408 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003138/1.585, allocations: 0.9637 MB / 0.6417 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/1.586, allocations: 191.7 kB / 0.6419 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/1.587, allocations: 1.719 MB / 0.6436 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/1.588, allocations: 127.2 kB / 0.6437 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/1.588, allocations: 27.98 kB / 0.6438 GB, free: 6.992 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,Valve.C2.b,Valve.C1.a,Tank.Cs1.b,Tank.Ce2.a,Tank.Cs2.b,Tank.Ce1.a,DynamicCentrifugalPump1.C2.b,DynamicCentrifugalPump1.C1.a,Tank.Cs1.a,Tank.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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 {(9,22), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002359/1.588, allocations: 184.5 kB / 0.6439 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/1.588, allocations: 51.34 kB / 0.644 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/1.591, allocations: 1.48 MB / 0.6454 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002441/1.594, allocations: 1.18 MB / 0.6466 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.594, allocations: 7.875 kB / 0.6466 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/1.594, allocations: 3.984 kB / 0.6466 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/1.598, allocations: 2.388 MB / 0.6489 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.598, allocations: 0 / 0.6489 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009545/1.599, allocations: 227.8 kB / 0.6491 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/1.6, allocations: 0.6102 MB / 0.6497 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/1.6, allocations: 23.98 kB / 0.6498 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/1.603, allocations: 2.975 MB / 0.6527 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.603, allocations: 4 kB / 0.6527 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/1.606, allocations: 1.843 MB / 0.6545 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/1.606, allocations: 204 kB / 0.6547 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/1.606, allocations: 12 kB / 0.6547 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/1.607, allocations: 83.92 kB / 0.6548 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/1.607, allocations: 61.16 kB / 0.6548 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/1.607, allocations: 23.98 kB / 0.6548 GB, free: 11.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001836/1.607, allocations: 239.1 kB / 0.6551 GB, free: 11.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.607, allocations: 0 / 0.6551 GB, free: 11.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002182/1.61, allocations: 1.183 MB / 0.6562 GB, free: 9.891 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (DynamicCentrifugalPump1.w,DynamicCentrifugalPump1.h,Tank.z,Tank.h,Shaft1.delta) * 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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,16), (1,2), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003383/1.613, allocations: 1.612 MB / 0.6578 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002635/1.616, allocations: 1.149 MB / 0.6589 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.616, allocations: 4 kB / 0.6589 GB, free: 7.109 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/1.617, allocations: 0.7224 MB / 0.6596 GB, free: 6.375 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009257/1.618, allocations: 192.2 kB / 0.6598 GB, free: 6.188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/1.621, allocations: 2.128 MB / 0.6619 GB, free: 4.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/1.621, allocations: 0.9425 MB / 0.6628 GB, free: 3.062 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/1.621, allocations: 43.42 kB / 0.6628 GB, free: 3.02 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/1.621, allocations: 0 / 0.6628 GB, free: 3.02 MB / 0.545 GB Notification: Performance of Templates: time 0.03166/1.653, allocations: 31.76 MB / 0.6939 GB, free: 3.23 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1.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.TestDynamicCentrifugalPump1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump1CalcHelperMain.o] Error 1