Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.PPM") translateModel(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005546/0.005546, allocations: 101.1 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 190.6 kB / 16.79 MB, free: 5.809 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.336/1.336, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.75/0.75, allocations: 132.2 MB / 422.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 65.25 kB / 0.5017 GB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.4838, allocations: 80.2 MB / 0.58 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.2285/0.7123, allocations: 212.4 MB / 0.7875 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02611/0.7385, allocations: 21.47 MB / 0.8084 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.741, allocations: 47.69 kB / 0.8085 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.7433, allocations: 0.6177 MB / 0.8091 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.7547, allocations: 3.996 MB / 0.813 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.7578, allocations: 0.9518 MB / 0.8139 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.4519/1.21, allocations: 5.363 MB / 0.8191 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002935/1.213, allocations: 1.329 MB / 0.8204 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004164/1.217, allocations: 1.446 MB / 0.8218 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004693/1.222, allocations: 1.598 MB / 0.8234 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004633/1.222, allocations: 87.84 kB / 0.8235 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005377/1.228, allocations: 2.099 MB / 0.8255 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00107/1.229, allocations: 0.6742 MB / 0.8262 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001959/1.231, allocations: 0.8769 MB / 0.8271 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003511/1.234, allocations: 2.189 MB / 0.8292 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.234, allocations: 0.5625 kB / 0.8292 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.834e-06/1.234, allocations: 0.7188 kB / 0.8292 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.663e-05/1.234, allocations: 4 kB / 0.8292 GB, free: 4.973 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.004641/1.239, allocations: 2.035 MB / 0.8312 GB, free: 20.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.239, allocations: 9.438 kB / 0.8312 GB, free: 20.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/1.241, allocations: 400.3 kB / 0.8316 GB, free: 19.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/1.244, allocations: 1.095 MB / 0.8326 GB, free: 19.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/1.244, allocations: 107.3 kB / 0.8327 GB, free: 19.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/1.244, allocations: 136.6 kB / 0.8329 GB, free: 19.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/1.246, allocations: 1.592 MB / 0.8344 GB, free: 19.33 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/1.246, allocations: 3 kB / 0.8344 GB, free: 19.33 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/1.247, allocations: 51.28 kB / 0.8345 GB, free: 19.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/1.247, allocations: 55.61 kB / 0.8345 GB, free: 19.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/1.249, allocations: 1.291 MB / 0.8358 GB, free: 19.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.008134/1.257, allocations: 6.476 MB / 0.8421 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/1.258, allocations: 0.9437 MB / 0.843 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/1.259, allocations: 483.1 kB / 0.8435 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007126/1.259, allocations: 413.8 kB / 0.8439 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/1.259, allocations: 44.28 kB / 0.8439 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.425e-06/1.259, allocations: 0 / 0.8439 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005327/1.265, allocations: 2.932 MB / 0.8468 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/1.265, allocations: 64.97 kB / 0.8469 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/1.266, allocations: 1.201 MB / 0.848 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/1.266, allocations: 44.45 kB / 0.8481 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/1.267, allocations: 0.6799 MB / 0.8487 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/1.267, allocations: 298.6 kB / 0.849 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/1.267, allocations: 195.9 kB / 0.8492 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.267, allocations: 351.7 kB / 0.8495 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005231/1.268, allocations: 375.3 kB / 0.8499 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007706/1.269, allocations: 0.7329 MB / 0.8506 GB, free: 13.25 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.01142/1.28, allocations: 2.914 MB / 0.8535 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/1.28, allocations: 5 kB / 0.8535 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002174/1.282, allocations: 1.298 MB / 0.8547 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.282, allocations: 8.156 kB / 0.8547 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.282, allocations: 8.188 kB / 0.8548 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/1.283, allocations: 143.2 kB / 0.8549 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/1.283, allocations: 201.6 kB / 0.8551 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/1.287, allocations: 4.824 MB / 0.8598 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/1.289, allocations: 104.5 kB / 0.8599 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.244e-05/1.289, allocations: 52.03 kB / 0.8599 GB, free: 8.594 MB / 0.6544 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.0008064/1.29, allocations: 424.3 kB / 0.8603 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/1.29, allocations: 145.1 kB / 0.8605 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/1.292, allocations: 1.098 MB / 0.8616 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.292, allocations: 7.969 kB / 0.8616 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.292, allocations: 3.984 kB / 0.8616 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001331/1.293, allocations: 1.05 MB / 0.8626 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00587/1.299, allocations: 3.084 MB / 0.8656 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.299, allocations: 8 kB / 0.8656 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007007/1.3, allocations: 157.4 kB / 0.8658 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/1.3, allocations: 130.5 kB / 0.8659 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/1.3, allocations: 30.88 kB / 0.8659 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004297/1.305, allocations: 4.813 MB / 0.8706 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.305, allocations: 11.16 kB / 0.8706 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/1.307, allocations: 1.768 MB / 0.8724 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008668/1.308, allocations: 309.6 kB / 0.8727 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/1.308, allocations: 25.23 kB / 0.8727 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009167/1.309, allocations: 79.59 kB / 0.8728 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.309, allocations: 76.97 kB / 0.8728 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/1.309, allocations: 39.91 kB / 0.8729 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001267/1.31, allocations: 0.8462 MB / 0.8737 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/1.31, allocations: 0 / 0.8737 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001696/1.312, allocations: 409 kB / 0.8741 GB, free: 2.352 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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.0006112/1.313, allocations: 250.4 kB / 0.8743 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00198/1.315, allocations: 1.267 MB / 0.8756 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.315, allocations: 3.156 kB / 0.8756 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009437/1.316, allocations: 0.7905 MB / 0.8763 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/1.319, allocations: 0.8502 MB / 0.8772 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004676/1.324, allocations: 3.477 MB / 0.8806 GB, free: 15.67 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008645/1.325, allocations: 1.353 MB / 0.8819 GB, free: 14.95 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/1.325, allocations: 120.3 kB / 0.882 GB, free: 14.94 MB / 0.67 GB Notification: Performance of SimCode: time 1.223e-06/1.325, allocations: 3.938 kB / 0.882 GB, free: 14.94 MB / 0.67 GB Notification: Performance of Templates: time 0.04845/1.374, allocations: 43.18 MB / 0.9242 GB, free: 13.13 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.PPMCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.PPMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.PPMCalcHelperMain.o] Error 1