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.00152/0.00152, allocations: 100.1 kB / 15.88 MB, free: 12 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.001737/0.001737, allocations: 195.9 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.339/2.339, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003441/0.003441, allocations: 290.9 kB / 290.9 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.826/1.826, allocations: 169.2 MB / 0.4983 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002586/0.002585, allocations: 94.19 kB / 0.5951 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3445, allocations: 86.99 MB / 0.6801 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 1.315/1.66, allocations: 212.4 MB / 0.8875 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.05521/1.715, allocations: 21.48 MB / 0.9085 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005008/1.72, allocations: 43.62 kB / 0.9085 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005186/1.725, allocations: 0.6223 MB / 0.9091 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.02988/1.755, allocations: 3.986 MB / 0.913 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008337/1.764, allocations: 0.9754 MB / 0.914 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01717/1.781, allocations: 5.365 MB / 0.9192 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005562/1.786, allocations: 1.333 MB / 0.9205 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008562/1.795, allocations: 1.44 MB / 0.9219 GB, free: 208 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009026/1.804, allocations: 1.59 MB / 0.9235 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001191/1.805, allocations: 92 kB / 0.9235 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01071/1.816, allocations: 2.1 MB / 0.9256 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00318/1.819, allocations: 0.6738 MB / 0.9263 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.006053/1.825, allocations: 0.8785 MB / 0.9271 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009154/1.835, allocations: 2.187 MB / 0.9293 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.604e-05/1.835, allocations: 3.984 kB / 0.9293 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.206e-06/1.835, allocations: 3.938 kB / 0.9293 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000198/1.835, allocations: 0 / 0.9293 GB, free: 8.66 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.01317/1.848, allocations: 2.034 MB / 0.9312 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.512e-05/1.848, allocations: 12.03 kB / 0.9313 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005554/1.854, allocations: 397.5 kB / 0.9316 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006346/1.86, allocations: 1.101 MB / 0.9327 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/1.861, allocations: 102.5 kB / 0.9328 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008553/1.861, allocations: 136 kB / 0.9329 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007865/1.869, allocations: 1.583 MB / 0.9345 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-05/1.869, allocations: 0 / 0.9345 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006322/1.87, allocations: 59.98 kB / 0.9345 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/1.87, allocations: 50.45 kB / 0.9346 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004979/1.875, allocations: 1.298 MB / 0.9359 GB, free: 1.703 MB / 0.6387 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.0197/1.895, allocations: 6.481 MB / 0.9422 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/1.898, allocations: 0.9574 MB / 0.9431 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/1.899, allocations: 483.8 kB / 0.9436 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/1.901, allocations: 413 kB / 0.944 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.349e-05/1.901, allocations: 43.22 kB / 0.944 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 6.382e-06/1.901, allocations: 3.828 kB / 0.944 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.01259/1.914, allocations: 2.944 MB / 0.9469 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/1.914, allocations: 60.41 kB / 0.947 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/1.918, allocations: 1.201 MB / 0.9481 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002211/1.918, allocations: 45.7 kB / 0.9482 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/1.919, allocations: 0.676 MB / 0.9488 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005777/1.92, allocations: 299.6 kB / 0.9491 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007203/1.921, allocations: 202.5 kB / 0.9493 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002993/1.921, allocations: 345.9 kB / 0.9496 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/1.922, allocations: 377.8 kB / 0.95 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/1.924, allocations: 0.7152 MB / 0.9507 GB, free: 1.668 MB / 0.6544 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.02138/1.945, allocations: 2.927 MB / 0.9536 GB, free: 14.62 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.744e-05/1.945, allocations: 4 kB / 0.9536 GB, free: 14.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004693/1.95, allocations: 1.297 MB / 0.9548 GB, free: 13.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/1.95, allocations: 12.19 kB / 0.9548 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.952e-05/1.95, allocations: 8 kB / 0.9548 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005756/1.951, allocations: 130.5 kB / 0.955 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/1.952, allocations: 203.7 kB / 0.9552 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/1.964, allocations: 4.831 MB / 0.9599 GB, free: 7.711 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00476/1.969, allocations: 115.8 kB / 0.96 GB, free: 7.598 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000419/1.97, allocations: 44 kB / 0.96 GB, free: 7.555 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 system: 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.001839/1.971, allocations: 430.6 kB / 0.9604 GB, free: 7.125 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007605/1.972, allocations: 138.3 kB / 0.9606 GB, free: 6.988 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/1.975, allocations: 1.1 MB / 0.9617 GB, free: 5.871 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.975, allocations: 8 kB / 0.9617 GB, free: 5.863 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.975, allocations: 4 kB / 0.9617 GB, free: 5.859 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002117/1.978, allocations: 1.051 MB / 0.9627 GB, free: 4.754 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008728/1.986, allocations: 3.093 MB / 0.9657 GB, free: 1.457 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.986, allocations: 8 kB / 0.9657 GB, free: 1.449 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/1.987, allocations: 156.5 kB / 0.9659 GB, free: 1.297 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004019/1.988, allocations: 134.4 kB / 0.966 GB, free: 1.156 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-05/1.988, allocations: 27.98 kB / 0.966 GB, free: 1.129 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007725/1.996, allocations: 4.816 MB / 0.9707 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/1.996, allocations: 11.94 kB / 0.9707 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/2, allocations: 1.738 MB / 0.9724 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/2.002, allocations: 315.3 kB / 0.9727 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/2.002, allocations: 28 kB / 0.9728 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/2.003, allocations: 83.72 kB / 0.9728 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/2.004, allocations: 76.3 kB / 0.9729 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.74e-05/2.004, allocations: 35.98 kB / 0.9729 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001961/2.006, allocations: 0.8461 MB / 0.9738 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/2.006, allocations: 0 / 0.9738 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002741/2.008, allocations: 404 kB / 0.9742 GB, free: 8.266 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.0009083/2.009, allocations: 242.9 kB / 0.9744 GB, free: 8.035 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003197/2.013, allocations: 1.27 MB / 0.9756 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/2.013, allocations: 4 kB / 0.9756 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/2.014, allocations: 0.7931 MB / 0.9764 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006225/2.02, allocations: 0.8426 MB / 0.9772 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008386/2.029, allocations: 3.486 MB / 0.9806 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/2.031, allocations: 1.359 MB / 0.982 GB, free: 84 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007186/2.031, allocations: 119.5 kB / 0.9821 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of SimCode: time 1.794e-06/2.031, allocations: 0 / 0.9821 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of Templates: time 0.08972/2.121, allocations: 43.11 MB / 1.024 GB, free: 5.062 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