Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump.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.TestDynamicCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6886/0.6886, allocations: 150.8 MB / 166.7 MB, free: 15.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.315e-05/1.322e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 31.98 MB / 237.4 MB, free: 5.391 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.TestDynamicCentrifugalPump): time 1.307/1.425, allocations: 294.8 MB / 0.5197 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03314/1.458, allocations: 33.7 MB / 0.5526 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/1.459, allocations: 4 kB / 0.5526 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/1.459, allocations: 123.2 kB / 0.5528 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/1.459, allocations: 170.7 kB / 0.5529 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01324/1.473, allocations: 6.666 MB / 0.5594 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006781/1.473, allocations: 0.7914 MB / 0.5602 GB, free: 2.953 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/1.474, allocations: 290.6 kB / 0.5605 GB, free: 2.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/1.474, allocations: 294.8 kB / 0.5608 GB, free: 2.379 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/1.474, allocations: 318.5 kB / 0.5611 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/1.474, allocations: 28 kB / 0.5611 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01931/1.494, allocations: 15.01 MB / 0.5757 GB, free: 3.012 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/1.494, allocations: 111.5 kB / 0.5758 GB, free: 2.902 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/1.494, allocations: 328 kB / 0.5762 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005185/1.499, allocations: 5.356 MB / 0.5814 GB, free: 13.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/1.499, allocations: 0 / 0.5814 GB, free: 13.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.172e-06/1.499, allocations: 0 / 0.5814 GB, free: 13.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/1.499, allocations: 0 / 0.5814 GB, free: 13.2 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003974/1.503, allocations: 1.857 MB / 0.5832 GB, free: 11.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/1.503, allocations: 11.97 kB / 0.5832 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/1.503, allocations: 75.09 kB / 0.5833 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/1.504, allocations: 372.6 kB / 0.5836 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-05/1.504, allocations: 66.7 kB / 0.5837 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.462e-05/1.504, allocations: 48 kB / 0.5838 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/1.505, allocations: 0.7536 MB / 0.5845 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/1.505, allocations: 0 / 0.5845 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/1.505, allocations: 20 kB / 0.5845 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/1.505, allocations: 28.77 kB / 0.5845 GB, free: 9.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/1.507, allocations: 0.7301 MB / 0.5852 GB, free: 9.109 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.002899/1.51, allocations: 3.34 MB / 0.5885 GB, free: 5.465 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/1.512, allocations: 0.7978 MB / 0.5893 GB, free: 4.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008587/1.513, allocations: 386.3 kB / 0.5897 GB, free: 4.281 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07062/1.584, allocations: 44.48 MB / 0.6331 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/1.585, allocations: 463.7 kB / 0.6335 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=80): time 2.294e-06/1.585, allocations: 0 / 0.6335 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=80): time 0.00637/1.591, allocations: 2.125 MB / 0.6356 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/1.591, allocations: 111.2 kB / 0.6357 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/1.591, allocations: 369.5 kB / 0.6361 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/1.591, allocations: 33.7 kB / 0.6361 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/1.592, allocations: 256.6 kB / 0.6363 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/1.592, allocations: 275.9 kB / 0.6366 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.069e-05/1.592, allocations: 81.66 kB / 0.6367 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.592, allocations: 362.8 kB / 0.637 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008379/1.593, allocations: 325.4 kB / 0.6373 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009096/1.594, allocations: 481.2 kB / 0.6378 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006878/1.601, allocations: 2.201 MB / 0.64 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.601, allocations: 0 / 0.64 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002804/1.604, allocations: 1.259 MB / 0.6412 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/1.604, allocations: 37.64 kB / 0.6412 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.604, allocations: 5.125 kB / 0.6412 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/1.607, allocations: 0.9865 MB / 0.6422 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/1.607, allocations: 171.8 kB / 0.6423 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/1.609, allocations: 1.758 MB / 0.6441 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/1.61, allocations: 135.2 kB / 0.6442 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/1.61, allocations: 31.98 kB / 0.6442 GB, free: 6.492 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 14 (Valve.C2.b,Valve.C1.a,Tank.Cs1.b,Tank.Ce2.a,Tank.Cs2.b,Tank.Ce1.a,DynamicCentrifugalPump1.C2.b,DynamicCentrifugalPump1.C1.a,$PRE.Pulse1.T0,Pulse1.yL.signal,Pulse1.T0,$whenCondition1,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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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 {(8,25), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002515/1.61, allocations: 225.1 kB / 0.6444 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/1.61, allocations: 55.34 kB / 0.6445 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/1.613, allocations: 1.465 MB / 0.6459 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002272/1.615, allocations: 1.185 MB / 0.6471 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.615, allocations: 0 / 0.6471 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/1.615, allocations: 12.38 kB / 0.6471 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003771/1.619, allocations: 2.426 MB / 0.6495 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/1.619, allocations: 4 kB / 0.6495 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000984/1.62, allocations: 231.8 kB / 0.6497 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001488/1.621, allocations: 0.5858 MB / 0.6503 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/1.621, allocations: 27.98 kB / 0.6503 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/1.623, allocations: 1.577 MB / 0.6518 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.623, allocations: 0 / 0.6518 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003394/1.626, allocations: 1.836 MB / 0.6536 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/1.626, allocations: 203.9 kB / 0.6538 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/1.626, allocations: 23.94 kB / 0.6538 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005517/1.627, allocations: 87.81 kB / 0.6539 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.627, allocations: 64.91 kB / 0.654 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/1.627, allocations: 27.98 kB / 0.654 GB, free: 12.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000199/1.627, allocations: 243.2 kB / 0.6542 GB, free: 12.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.627, allocations: 0 / 0.6542 GB, free: 12.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002101/1.629, allocations: 1.191 MB / 0.6554 GB, free: 10.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Motor1.w,Motor1.Im,DynamicCentrifugalPump1.w,DynamicCentrifugalPump1.h,Tank.z,Tank.h,Shaft1.delta) * Number of discrete variables: 3 ($whenCondition1,Pulse1.T0,Pulse1.yL.signal) * 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 (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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 {(5,16), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003361/1.633, allocations: 1.611 MB / 0.657 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002636/1.635, allocations: 1.208 MB / 0.6582 GB, free: 7.965 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.636, allocations: 0 / 0.6582 GB, free: 7.965 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/1.637, allocations: 0.6691 MB / 0.6588 GB, free: 7.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009357/1.638, allocations: 200.5 kB / 0.659 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/1.641, allocations: 2.35 MB / 0.6613 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/1.641, allocations: 0.9427 MB / 0.6622 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/1.641, allocations: 43.42 kB / 0.6623 GB, free: 3.691 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/1.641, allocations: 8 kB / 0.6623 GB, free: 3.684 MB / 0.545 GB Notification: Performance of Templates: time 0.03023/1.671, allocations: 30.93 MB / 0.6925 GB, free: 4.73 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump.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.TestDynamicCentrifugalPumpCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPumpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPumpCalcHelperMain.o] Error 1