Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 99.36 kB / 15.71 MB, free: 452 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.001608/0.001608, allocations: 176.8 kB / 16.58 MB, free: 6.418 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.453/1.453, allocations: 223.2 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7921/0.7921, allocations: 132.3 MB / 424 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 12 kB / 0.504 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5392, allocations: 81.58 MB / 0.5837 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1983/0.7376, allocations: 152.1 MB / 0.7322 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.7405, allocations: 1.485 MB / 0.7336 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.7408, allocations: 11.94 kB / 0.7337 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.7413, allocations: 107.2 kB / 0.7338 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.7428, allocations: 0.5053 MB / 0.7342 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.7442, allocations: 459.5 kB / 0.7347 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009214/0.7451, allocations: 0.8463 MB / 0.7355 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.7454, allocations: 181.1 kB / 0.7357 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.746, allocations: 306.8 kB / 0.736 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.7463, allocations: 227.1 kB / 0.7362 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.7464, allocations: 16 kB / 0.7362 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.7474, allocations: 474.8 kB / 0.7367 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.7475, allocations: 91.7 kB / 0.7368 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.7476, allocations: 85.52 kB / 0.7368 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.7481, allocations: 443 kB / 0.7373 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.7481, allocations: 0 / 0.7373 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7482, allocations: 0 / 0.7373 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.7482, allocations: 0 / 0.7373 GB, free: 2.926 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008973/0.7491, allocations: 0.6117 MB / 0.7379 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.7491, allocations: 12.02 kB / 0.7379 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.7502, allocations: 155.4 kB / 0.738 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.7506, allocations: 310.7 kB / 0.7383 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.7507, allocations: 20.56 kB / 0.7383 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.7507, allocations: 28 kB / 0.7384 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.7512, allocations: 285.8 kB / 0.7386 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.7512, allocations: 0 / 0.7386 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.7513, allocations: 12 kB / 0.7386 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.7513, allocations: 8 kB / 0.7386 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.7517, allocations: 208.9 kB / 0.7388 GB, free: 1.191 MB / 0.5606 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.001458/0.7532, allocations: 1.234 MB / 0.7401 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.7535, allocations: 154.4 kB / 0.7402 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.7537, allocations: 104.8 kB / 0.7403 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.7542, allocations: 315.2 kB / 0.7406 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.7543, allocations: 30.56 kB / 0.7406 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.7543, allocations: 0 / 0.7406 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007447/0.755, allocations: 311.6 kB / 0.7409 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.7551, allocations: 55.34 kB / 0.741 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.7554, allocations: 320.5 kB / 0.7413 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.7555, allocations: 33.7 kB / 0.7413 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.7556, allocations: 188.1 kB / 0.7415 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.7557, allocations: 59.19 kB / 0.7416 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.7557, allocations: 4 kB / 0.7416 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7559, allocations: 338.8 kB / 0.7419 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.756, allocations: 75.94 kB / 0.742 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.7562, allocations: 129.1 kB / 0.7421 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.7564, allocations: 87.91 kB / 0.7422 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.7564, allocations: 4 kB / 0.7422 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004583/0.7569, allocations: 257.2 kB / 0.7424 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.7569, allocations: 8 kB / 0.7424 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.7569, allocations: 0 / 0.7424 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.757, allocations: 12.08 kB / 0.7424 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.7572, allocations: 47.91 kB / 0.7425 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.7572, allocations: 4 kB / 0.7425 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.7574, allocations: 39.67 kB / 0.7425 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.7574, allocations: 12 kB / 0.7425 GB, free: 13.17 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.7576, allocations: 153.7 kB / 0.7427 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.7576, allocations: 35.56 kB / 0.7427 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004854/0.7581, allocations: 244.6 kB / 0.7429 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7582, allocations: 0 / 0.7429 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.7582, allocations: 3.938 kB / 0.7429 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.7582, allocations: 8 kB / 0.7429 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009997/0.7592, allocations: 0.7107 MB / 0.7436 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7592, allocations: 0 / 0.7436 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.7594, allocations: 39.91 kB / 0.7437 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.7594, allocations: 4 kB / 0.7437 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.7594, allocations: 8.219 kB / 0.7437 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.7594, allocations: 8 kB / 0.7437 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7594, allocations: 3.938 kB / 0.7437 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.7601, allocations: 467.3 kB / 0.7442 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.7602, allocations: 120.8 kB / 0.7443 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.7603, allocations: 11.98 kB / 0.7443 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.7604, allocations: 19.92 kB / 0.7443 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.7605, allocations: 19.94 kB / 0.7443 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.7605, allocations: 4 kB / 0.7443 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002246/0.7608, allocations: 235 kB / 0.7445 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7608, allocations: 0 / 0.7445 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004018/0.7612, allocations: 79.94 kB / 0.7446 GB, free: 10.88 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004445/0.7616, allocations: 161 kB / 0.7448 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004436/0.7621, allocations: 185.5 kB / 0.7449 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7621, allocations: 0 / 0.7449 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.7623, allocations: 104.4 kB / 0.745 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/0.7631, allocations: 169 kB / 0.7452 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.7642, allocations: 0.7836 MB / 0.746 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.7646, allocations: 0.7758 MB / 0.7467 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.7646, allocations: 27.44 kB / 0.7468 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.7647, allocations: 0 / 0.7468 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of Templates: time 0.008442/0.7731, allocations: 4.892 MB / 0.7515 GB, free: 3.777 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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.VelocityCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.VelocityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.VelocityCalcHelperMain.o] Error 1