Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump2.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.TestDynamicCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6826/0.6826, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.256e-05/1.259e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 31.98 MB / 237.4 MB, free: 5.387 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.TestDynamicCentrifugalPump2): time 1.307/1.426, allocations: 297.3 MB / 0.5222 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03745/1.463, allocations: 38.8 MB / 0.5601 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000415/1.464, allocations: 19.94 kB / 0.5601 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004489/1.464, allocations: 234.6 kB / 0.5603 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007912/1.465, allocations: 456.9 kB / 0.5608 GB, free: 2.566 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01545/1.48, allocations: 7.83 MB / 0.5684 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/1.482, allocations: 1.766 MB / 0.5701 GB, free: 8.965 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006494/1.483, allocations: 0.6897 MB / 0.5708 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/1.483, allocations: 0.5873 MB / 0.5714 GB, free: 7.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005748/1.484, allocations: 0.6492 MB / 0.572 GB, free: 7.027 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/1.484, allocations: 60 kB / 0.5721 GB, free: 6.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02291/1.507, allocations: 18.07 MB / 0.5897 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002438/1.507, allocations: 254.8 kB / 0.59 GB, free: 4.625 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005628/1.508, allocations: 0.662 MB / 0.5906 GB, free: 3.953 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006721/1.514, allocations: 6.681 MB / 0.5971 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/1.514, allocations: 0 / 0.5971 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/1.514, allocations: 0 / 0.5971 GB, free: 13.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/1.514, allocations: 0 / 0.5971 GB, free: 13.25 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005607/1.52, allocations: 2.679 MB / 0.5997 GB, free: 10.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/1.52, allocations: 12.03 kB / 0.5998 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/1.52, allocations: 166 kB / 0.5999 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/1.521, allocations: 0.619 MB / 0.6005 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/1.521, allocations: 141.5 kB / 0.6007 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/1.521, allocations: 112 kB / 0.6008 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/1.524, allocations: 1.54 MB / 0.6023 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/1.524, allocations: 4 kB / 0.6023 GB, free: 7.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.524, allocations: 51.94 kB / 0.6023 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/1.524, allocations: 43.97 kB / 0.6024 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002782/1.527, allocations: 1.355 MB / 0.6037 GB, free: 6.316 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.03709/1.564, allocations: 24.05 MB / 0.6272 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/1.567, allocations: 1.352 MB / 0.6285 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/1.568, allocations: 0.7481 MB / 0.6292 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2678/1.836, allocations: 77.94 MB / 0.7053 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/1.838, allocations: 0.8968 MB / 0.7062 GB, free: 221 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=176): time 2.795e-06/1.838, allocations: 0 / 0.7062 GB, free: 221 MB / 0.5762 GB Notification: Performance of matching and sorting (n=176): time 0.01029/1.848, allocations: 3.971 MB / 0.7101 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.848, allocations: 226 kB / 0.7103 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006349/1.849, allocations: 0.7027 MB / 0.711 GB, free: 220 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/1.849, allocations: 46.27 kB / 0.711 GB, free: 220 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/1.849, allocations: 483.1 kB / 0.7115 GB, free: 219.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/1.849, allocations: 0.5776 MB / 0.7121 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/1.849, allocations: 144.3 kB / 0.7122 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 2.796e-05/1.85, allocations: 301.7 kB / 0.7125 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/1.851, allocations: 0.5934 MB / 0.7131 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/1.852, allocations: 0.883 MB / 0.7139 GB, free: 218.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/1.863, allocations: 3.981 MB / 0.7178 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.863, allocations: 3.406 kB / 0.7178 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004552/1.868, allocations: 2.348 MB / 0.7201 GB, free: 217.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/1.868, allocations: 48.31 kB / 0.7202 GB, free: 217.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.868, allocations: 5.625 kB / 0.7202 GB, free: 217.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005221/1.873, allocations: 1.794 MB / 0.7219 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009879/1.874, allocations: 272.1 kB / 0.7222 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/1.877, allocations: 2.762 MB / 0.7249 GB, free: 216.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009489/1.878, allocations: 236.1 kB / 0.7251 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/1.878, allocations: 54.55 kB / 0.7251 GB, free: 216.1 MB / 0.5762 GB Warning: Assuming fixed start value for the following 2 variables: pIsat.Integrateur1.x0:DISCRETE(fixed = true protected = true ) type: Real Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.pIsat.Integrateur1.x0,pIsat.Integrateur1.x0,pIsat.Integrateur1.reset.signal,$PRE.Pulse1.T0,dynamicReliefValve.clapper_is_free,Pulse1.yL.signal,Pulse1.T0,$whenCondition1,$whenCondition2,$whenCondition3,sourceP.C.b,Valve1.C2.b,Valve1.C1.a,sinkP.C.a,volumeA.Cs2.b,volumeA.Cs1.b,volumeA.Ce2.a,volumeA.Ce1.a,dynamicReliefValve.C2.b,dynamicReliefValve.C1.a,Valve.C2.b,Valve.C1.a,Tank.Cs1.b,Tank.Ce2.a,Tank.Cs2.b,Tank.Ce1.a,DynamicCentrifugalPump1.C2.b,DynamicCentrifugalPump1.C1.a,volumeA.Ce2.b,Tank.Cs1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * 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 {(12,30), (2,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003818/1.878, allocations: 327.1 kB / 0.7255 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/1.878, allocations: 113.7 kB / 0.7256 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0043/1.883, allocations: 2.896 MB / 0.7284 GB, free: 215.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003518/1.886, allocations: 2.157 MB / 0.7305 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.886, allocations: 0 / 0.7305 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.886, allocations: 12.42 kB / 0.7305 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006317/1.893, allocations: 4.57 MB / 0.735 GB, free: 213.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.893, allocations: 0 / 0.735 GB, free: 213.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/1.894, allocations: 367.6 kB / 0.7353 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002973/1.897, allocations: 1.181 MB / 0.7365 GB, free: 212 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/1.897, allocations: 40.47 kB / 0.7365 GB, free: 211.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/1.9, allocations: 3.92 MB / 0.7403 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.9, allocations: 1.016 kB / 0.7403 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005219/1.905, allocations: 3.341 MB / 0.7436 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/1.905, allocations: 374.5 kB / 0.744 GB, free: 204.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/1.905, allocations: 32 kB / 0.744 GB, free: 204 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008656/1.906, allocations: 147.7 kB / 0.7441 GB, free: 203.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/1.907, allocations: 125.8 kB / 0.7443 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/1.907, allocations: 52.47 kB / 0.7443 GB, free: 203.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004172/1.907, allocations: 0.5342 MB / 0.7448 GB, free: 203.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/1.907, allocations: 0 / 0.7448 GB, free: 203.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002437/1.909, allocations: 1.546 MB / 0.7463 GB, free: 201.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (Motor1.w,Motor1.Im,DynamicCentrifugalPump1.w,DynamicCentrifugalPump1.h,Tank.z,Tank.h,Shaft1.delta,dynamicReliefValve.z,dynamicReliefValve.v,dynamicReliefValve.Wdyn,volumeA.h,pIsat.Integrateur1.x) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,Pulse1.T0,Pulse1.yL.signal,dynamicReliefValve.clapper_is_free,pIsat.Integrateur1.x0) * Number of discrete states: 3 (Pulse1.yL.signal,Pulse1.T0,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,8), (7,20), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004034/1.914, allocations: 1.907 MB / 0.7482 GB, free: 200.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003859/1.917, allocations: 2.239 MB / 0.7504 GB, free: 198 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.917, allocations: 0.6562 kB / 0.7504 GB, free: 198 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/1.92, allocations: 1.3 MB / 0.7517 GB, free: 196.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/1.921, allocations: 444.4 kB / 0.7521 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/1.926, allocations: 4.451 MB / 0.7564 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/1.926, allocations: 1.267 MB / 0.7577 GB, free: 190.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/1.926, allocations: 91.42 kB / 0.7578 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/1.926, allocations: 0 / 0.7578 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.04212/1.969, allocations: 57.67 MB / 0.8141 GB, free: 133.5 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump2.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.TestDynamicCentrifugalPump2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump2CalcHelperMain.o] Error 1