Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.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.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6961/0.6961, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.339e-05/1.34e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 31.99 MB / 237.4 MB, free: 5.367 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.TestStaticCentrifugalPump): time 1.317/1.433, allocations: 294.5 MB / 0.5194 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0334/1.467, allocations: 33.57 MB / 0.5522 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/1.467, allocations: 4 kB / 0.5522 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/1.467, allocations: 115.4 kB / 0.5523 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/1.467, allocations: 150.8 kB / 0.5524 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0129/1.48, allocations: 6.626 MB / 0.5589 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006053/1.481, allocations: 0.6857 MB / 0.5596 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/1.481, allocations: 243 kB / 0.5598 GB, free: 3.406 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/1.481, allocations: 250.9 kB / 0.56 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/1.482, allocations: 290.7 kB / 0.5603 GB, free: 2.875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/1.482, allocations: 24 kB / 0.5603 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01889/1.501, allocations: 14.97 MB / 0.575 GB, free: 3.863 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/1.501, allocations: 103.5 kB / 0.5751 GB, free: 3.762 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/1.501, allocations: 280.3 kB / 0.5753 GB, free: 3.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005069/1.506, allocations: 5.282 MB / 0.5805 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.506, allocations: 4 kB / 0.5805 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.152e-06/1.506, allocations: 0 / 0.5805 GB, free: 14.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.443e-06/1.506, allocations: 0 / 0.5805 GB, free: 14.18 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.003851/1.51, allocations: 1.735 MB / 0.5822 GB, free: 12.39 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/1.51, allocations: 8.031 kB / 0.5822 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/1.51, allocations: 71.17 kB / 0.5823 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/1.51, allocations: 329.8 kB / 0.5826 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/1.511, allocations: 58.7 kB / 0.5826 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/1.511, allocations: 39.98 kB / 0.5827 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/1.512, allocations: 0.6806 MB / 0.5833 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.512, allocations: 0 / 0.5833 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/1.512, allocations: 16 kB / 0.5833 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/1.512, allocations: 27.86 kB / 0.5834 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/1.514, allocations: 0.6936 MB / 0.5841 GB, free: 10.4 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.002618/1.516, allocations: 3.145 MB / 0.5871 GB, free: 6.953 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/1.519, allocations: 0.7942 MB / 0.5879 GB, free: 6.152 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008358/1.52, allocations: 354.1 kB / 0.5882 GB, free: 5.801 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07232/1.592, allocations: 44.47 MB / 0.6317 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009896/1.593, allocations: 410.5 kB / 0.6321 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.054e-06/1.593, allocations: 0 / 0.6321 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.008621/1.601, allocations: 2.43 MB / 0.6344 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/1.602, allocations: 59.19 kB / 0.6345 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/1.602, allocations: 329.6 kB / 0.6348 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/1.602, allocations: 37.69 kB / 0.6348 GB, free: 464 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/1.602, allocations: 236.7 kB / 0.6351 GB, free: 220 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/1.602, allocations: 224.7 kB / 0.6353 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/1.602, allocations: 69.69 kB / 0.6353 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.602, allocations: 358.8 kB / 0.6357 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/1.603, allocations: 297.4 kB / 0.636 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008853/1.604, allocations: 461.1 kB / 0.6364 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006689/1.611, allocations: 1.95 MB / 0.6383 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.611, allocations: 4 kB / 0.6383 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002572/1.613, allocations: 1.08 MB / 0.6394 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.613, allocations: 4 kB / 0.6394 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.613, allocations: 4 kB / 0.6394 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/1.616, allocations: 0.85 MB / 0.6402 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/1.617, allocations: 171.8 kB / 0.6404 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/1.618, allocations: 1.597 MB / 0.6419 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/1.619, allocations: 119.3 kB / 0.642 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/1.619, allocations: 23.98 kB / 0.6421 GB, free: 8.816 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 (41): * Single equations (assignments): 39 * 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 {(6,16), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000214/1.619, allocations: 181.7 kB / 0.6422 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/1.619, allocations: 47.38 kB / 0.6423 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/1.623, allocations: 1.544 MB / 0.6438 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002311/1.625, allocations: 1.104 MB / 0.6449 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.625, allocations: 0 / 0.6449 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/1.625, allocations: 3.984 kB / 0.6449 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003917/1.629, allocations: 2.298 MB / 0.6471 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.629, allocations: 0 / 0.6471 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008204/1.63, allocations: 195.8 kB / 0.6473 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/1.632, allocations: 0.7044 MB / 0.648 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/1.632, allocations: 16.11 kB / 0.648 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/1.633, allocations: 1.645 MB / 0.6496 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.633, allocations: 0 / 0.6496 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/1.637, allocations: 1.71 MB / 0.6513 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/1.637, allocations: 184.1 kB / 0.6515 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/1.637, allocations: 12 kB / 0.6515 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/1.637, allocations: 87.92 kB / 0.6516 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.637, allocations: 52.58 kB / 0.6516 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/1.638, allocations: 19.98 kB / 0.6516 GB, free: 14.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000177/1.638, allocations: 227.2 kB / 0.6518 GB, free: 14.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.638, allocations: 0 / 0.6518 GB, free: 14.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002048/1.64, allocations: 1.151 MB / 0.653 GB, free: 13.45 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 (53): * Single equations (assignments): 50 * 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 {(6,18), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003384/1.643, allocations: 1.612 MB / 0.6545 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002319/1.645, allocations: 1.026 MB / 0.6555 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.645, allocations: 0 / 0.6555 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/1.647, allocations: 0.5582 MB / 0.6561 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009188/1.648, allocations: 188.3 kB / 0.6563 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/1.65, allocations: 1.719 MB / 0.6579 GB, free: 8.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/1.65, allocations: 0.8996 MB / 0.6588 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.65, allocations: 43.42 kB / 0.6589 GB, free: 7.34 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/1.65, allocations: 0 / 0.6589 GB, free: 7.34 MB / 0.545 GB Notification: Performance of Templates: time 0.02915/1.68, allocations: 29.38 MB / 0.6876 GB, free: 9.926 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.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.TestStaticCentrifugalPumpCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpCalcHelperMain.o] Error 1