Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000917/0.000917, allocations: 91.12 kB / 17.58 MB, free: 6.168 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.0008904/0.0008906, allocations: 184.4 kB / 18.47 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 224.6 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006173/0.0006175, allocations: 12 kB / 281.4 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1149, allocations: 47.59 MB / 329 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001552/0.1165, allocations: 1.061 MB / 330 MB, free: 3.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007006/0.1172, allocations: 337.6 kB / 330.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.1172, allocations: 4 kB / 330.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.1172, allocations: 3.938 kB / 330.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.1173, allocations: 0 / 330.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1177, allocations: 71.84 kB / 330.5 MB, free: 2.609 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.995e-05/0.1178, allocations: 19.94 kB / 330.5 MB, free: 2.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.1178, allocations: 0 / 330.5 MB, free: 2.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.722e-05/0.1179, allocations: 11.94 kB / 330.5 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.496e-05/0.1179, allocations: 11.97 kB / 330.5 MB, free: 2.566 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1179, allocations: 0 / 330.5 MB, free: 2.566 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1181, allocations: 75.86 kB / 330.6 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.1181, allocations: 4 kB / 330.6 MB, free: 2.488 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.1182, allocations: 33.64 kB / 330.6 MB, free: 2.449 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.1183, allocations: 55.89 kB / 330.7 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.1183, allocations: 0 / 330.7 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1183, allocations: 4 kB / 330.7 MB, free: 2.391 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1183, allocations: 0 / 330.7 MB, free: 2.391 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004902/0.1188, allocations: 343.5 kB / 331 MB, free: 2.008 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1189, allocations: 8.031 kB / 331 MB, free: 2 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.1189, allocations: 4 kB / 331 MB, free: 1.996 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1191, allocations: 163 kB / 331.2 MB, free: 1.797 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1191, allocations: 0 / 331.2 MB, free: 1.797 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.1191, allocations: 11.94 kB / 331.2 MB, free: 1.785 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.1193, allocations: 37.64 kB / 331.2 MB, free: 1.742 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1193, allocations: 4 kB / 331.2 MB, free: 1.738 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1193, allocations: 0 / 331.2 MB, free: 1.738 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1193, allocations: 0 / 331.2 MB, free: 1.738 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.1193, allocations: 4 kB / 331.2 MB, free: 1.734 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.1197, allocations: 248.8 kB / 331.5 MB, free: 1.441 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.692e-05/0.1198, allocations: 26.52 kB / 331.5 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.1198, allocations: 16.92 kB / 331.5 MB, free: 1.387 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.1198, allocations: 0 / 331.5 MB, free: 1.387 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.12, allocations: 51.41 kB / 331.6 MB, free: 1.324 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.12, allocations: 0 / 331.6 MB, free: 1.324 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001876/0.1202, allocations: 61.59 kB / 331.6 MB, free: 1.258 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1202, allocations: 55.41 kB / 331.7 MB, free: 1.191 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.364e-05/0.1203, allocations: 101.9 kB / 331.8 MB, free: 1.082 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1203, allocations: 37.64 kB / 331.8 MB, free: 1.039 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.1204, allocations: 84.12 kB / 331.9 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.1204, allocations: 7.891 kB / 331.9 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.1204, allocations: 4 kB / 331.9 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1206, allocations: 314.8 kB / 332.2 MB, free: 0.625 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.1206, allocations: 4 kB / 332.2 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.1206, allocations: 21.7 kB / 332.2 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.964e-05/0.1207, allocations: 12 kB / 332.3 MB, free: 0.582 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1207, allocations: 3.938 kB / 332.3 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.481e-05/0.1208, allocations: 57.64 kB / 332.3 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1208, allocations: 8 kB / 332.3 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1208, allocations: 0 / 332.3 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1208, allocations: 0 / 332.3 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.1209, allocations: 11.98 kB / 332.3 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1209, allocations: 3.938 kB / 332.3 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.1209, allocations: 7.844 kB / 332.3 MB, free: 496 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1209, allocations: 4 kB / 332.3 MB, free: 492 kB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.909e-05/0.121, allocations: 113.9 kB / 332.5 MB, free: 368 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.121, allocations: 7.953 kB / 332.5 MB, free: 360 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.1211, allocations: 4.281 kB / 332.5 MB, free: 352 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1211, allocations: 0 / 332.5 MB, free: 352 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1211, allocations: 0 / 332.5 MB, free: 352 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1211, allocations: 0 / 332.5 MB, free: 352 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.1214, allocations: 290.6 kB / 332.8 MB, free: 4 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1214, allocations: 0 / 332.8 MB, free: 4 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.1214, allocations: 3.938 kB / 332.8 MB, free: 0 / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1214, allocations: 4.328 kB / 332.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1214, allocations: 4 kB / 332.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1214, allocations: 0 / 332.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1214, allocations: 0 / 332.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.1216, allocations: 147.5 kB / 332.9 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.1216, allocations: 85 kB / 333 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1216, allocations: 0 / 333 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.919e-05/0.1217, allocations: 0 / 333 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.1217, allocations: 8 kB / 333 MB, free: 15.72 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.1217, allocations: 0 / 333 MB, free: 15.72 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.681e-05/0.1218, allocations: 87.27 kB / 333.1 MB, free: 15.63 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1218, allocations: 0 / 333.1 MB, free: 15.63 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1221, allocations: 27.94 kB / 333.1 MB, free: 15.61 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003809/0.1225, allocations: 196.7 kB / 333.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.949e-05/0.1226, allocations: 27.86 kB / 333.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1226, allocations: 0 / 333.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/0.1226, allocations: 12 kB / 333.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.1228, allocations: 0 / 333.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.1231, allocations: 146.6 kB / 333.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1234, allocations: 0.6809 MB / 334.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.477e-05/0.1234, allocations: 7.438 kB / 334.2 MB, free: 14.49 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1234, allocations: 0 / 334.2 MB, free: 14.49 MB / 286.1 MB Notification: Performance of Templates: time 0.002831/0.1262, allocations: 1.148 MB / 335.3 MB, free: 13.34 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGeneratorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGeneratorCalcHelperMain.o] Error 1