Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 179.4 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 240.9 MB, free: 5.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.00167, allocations: 263.2 kB / 292.3 MB, free: 1.695 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.93/0.93, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.0004518, allocations: 18.02 kB / 0.5993 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1929, allocations: 88.55 MB / 0.6858 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.6904/0.8834, allocations: 209.5 MB / 0.8904 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02809/0.9115, allocations: 21.22 MB / 0.9111 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.9138, allocations: 43.69 kB / 0.9112 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.9161, allocations: 0.6178 MB / 0.9118 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.928, allocations: 3.985 MB / 0.9157 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.9313, allocations: 0.9638 MB / 0.9166 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007142/0.9385, allocations: 5.373 MB / 0.9218 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/0.9406, allocations: 1.283 MB / 0.9231 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.9438, allocations: 1.389 MB / 0.9245 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003548/0.9474, allocations: 1.542 MB / 0.926 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.9476, allocations: 72 kB / 0.926 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004741/0.9523, allocations: 2.081 MB / 0.9281 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009116/0.9533, allocations: 0.6465 MB / 0.9287 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.9545, allocations: 0.8568 MB / 0.9295 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.9572, allocations: 2.155 MB / 0.9316 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9572, allocations: 0 / 0.9316 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9572, allocations: 0 / 0.9316 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.9573, allocations: 4 kB / 0.9316 GB, free: 3.941 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.002763/0.96, allocations: 1.711 MB / 0.9333 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.9601, allocations: 8.031 kB / 0.9333 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.9622, allocations: 397.6 kB / 0.9337 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.9641, allocations: 1.108 MB / 0.9348 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/0.9642, allocations: 98.56 kB / 0.9349 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.9644, allocations: 136 kB / 0.935 GB, free: 388 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.9671, allocations: 1.583 MB / 0.9366 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.9672, allocations: 3.938 kB / 0.9366 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.9674, allocations: 52 kB / 0.9366 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.631e-05/0.9674, allocations: 50.44 kB / 0.9367 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.9699, allocations: 1.301 MB / 0.9379 GB, free: 13.31 MB / 0.6544 GB 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.008932/0.9789, allocations: 6.492 MB / 0.9443 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.9804, allocations: 0.9457 MB / 0.9452 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008552/0.9812, allocations: 487.3 kB / 0.9457 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/0.982, allocations: 425 kB / 0.9461 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.982, allocations: 47.22 kB / 0.9461 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/0.9821, allocations: 0 / 0.9461 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005653/0.9877, allocations: 2.944 MB / 0.949 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.974e-05/0.9878, allocations: 60.41 kB / 0.949 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.9893, allocations: 1.197 MB / 0.9502 GB, free: 80 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.599e-05/0.9894, allocations: 49.7 kB / 0.9503 GB, free: 24 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/0.99, allocations: 0.6799 MB / 0.9509 GB, free: 15.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.9902, allocations: 303.6 kB / 0.9512 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.9903, allocations: 85.67 kB / 0.9513 GB, free: 14.95 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.9905, allocations: 349.9 kB / 0.9516 GB, free: 14.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005801/0.9911, allocations: 373.8 kB / 0.952 GB, free: 14.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008331/0.992, allocations: 0.723 MB / 0.9527 GB, free: 13.36 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/1.004, allocations: 3.208 MB / 0.9558 GB, free: 10.03 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.004, allocations: 4 kB / 0.9558 GB, free: 10.03 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002261/1.006, allocations: 1.289 MB / 0.9571 GB, free: 8.723 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/1.006, allocations: 8.125 kB / 0.9571 GB, free: 8.715 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/1.006, allocations: 16 kB / 0.9571 GB, free: 8.699 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/1.007, allocations: 134.4 kB / 0.9572 GB, free: 8.559 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007417/1.007, allocations: 203.7 kB / 0.9574 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/1.012, allocations: 4.835 MB / 0.9621 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.013, allocations: 107.8 kB / 0.9622 GB, free: 3.016 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/1.013, allocations: 47.98 kB / 0.9623 GB, free: 2.969 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007605/1.014, allocations: 434.6 kB / 0.9627 GB, free: 2.535 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/1.014, allocations: 138.3 kB / 0.9628 GB, free: 2.398 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/1.016, allocations: 1.096 MB / 0.9639 GB, free: 1.281 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/1.016, allocations: 12 kB / 0.9639 GB, free: 1.27 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/1.016, allocations: 0 / 0.9639 GB, free: 1.27 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/1.017, allocations: 1.054 MB / 0.965 GB, free: 164 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005089/1.022, allocations: 3.124 MB / 0.968 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.022, allocations: 8 kB / 0.968 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006888/1.023, allocations: 160.5 kB / 0.9682 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/1.023, allocations: 134.5 kB / 0.9683 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/1.023, allocations: 31.98 kB / 0.9683 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003852/1.027, allocations: 4.804 MB / 0.973 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/1.027, allocations: 19.81 kB / 0.973 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/1.03, allocations: 1.738 MB / 0.9747 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/1.03, allocations: 311.3 kB / 0.975 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/1.031, allocations: 32 kB / 0.9751 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008781/1.031, allocations: 79.72 kB / 0.9751 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/1.032, allocations: 76.36 kB / 0.9752 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/1.032, allocations: 35.98 kB / 0.9752 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001127/1.033, allocations: 0.8461 MB / 0.9761 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.033, allocations: 0 / 0.9761 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001406/1.034, allocations: 404 kB / 0.9765 GB, free: 3.641 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005322/1.035, allocations: 242.5 kB / 0.9767 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001776/1.036, allocations: 1.273 MB / 0.9779 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.037, allocations: 8.125 kB / 0.9779 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008587/1.037, allocations: 0.7854 MB / 0.9787 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/1.042, allocations: 0.8519 MB / 0.9795 GB, free: 440 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/1.047, allocations: 3.554 MB / 0.983 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.048, allocations: 1.363 MB / 0.9843 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/1.048, allocations: 115.4 kB / 0.9844 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of SimCode: time 9.82e-07/1.048, allocations: 0 / 0.9844 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of Templates: time 0.05163/1.1, allocations: 42.9 MB / 1.026 GB, free: 0.5664 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPMCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPMCalcHelperMain.o] Error 1