Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007388/0.0007389, allocations: 91.28 kB / 17.58 MB, free: 5.801 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.0007848/0.0007848, allocations: 185 kB / 18.48 MB, free: 5.254 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.771/1.771, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004812/0.0004814, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1151, allocations: 47.57 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001794/0.117, allocations: 1.2 MB / 330.2 MB, free: 2.871 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008395/0.1178, allocations: 0.4999 MB / 330.7 MB, free: 2.363 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.1179, allocations: 4 kB / 330.7 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.774e-05/0.118, allocations: 11.94 kB / 330.7 MB, free: 2.348 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.1181, allocations: 7.922 kB / 330.7 MB, free: 2.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.1182, allocations: 31.97 kB / 330.7 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.1184, allocations: 51.84 kB / 330.8 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1185, allocations: 11.94 kB / 330.8 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1186, allocations: 23.92 kB / 330.8 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.1187, allocations: 23.84 kB / 330.8 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1187, allocations: 8 kB / 330.8 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.923e-05/0.1188, allocations: 12 kB / 330.8 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.1188, allocations: 19.91 kB / 330.9 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.1188, allocations: 25.7 kB / 330.9 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.1189, allocations: 47.91 kB / 330.9 MB, free: 2.082 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.119, allocations: 0 / 330.9 MB, free: 2.082 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.119, allocations: 4 kB / 330.9 MB, free: 2.078 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.119, allocations: 0 / 330.9 MB, free: 2.078 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006289/0.1196, allocations: 379.5 kB / 331.3 MB, free: 1.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1197, allocations: 8.031 kB / 331.3 MB, free: 1.652 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.1197, allocations: 11.84 kB / 331.3 MB, free: 1.641 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1199, allocations: 170.9 kB / 331.5 MB, free: 1.434 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.1199, allocations: 7.938 kB / 331.5 MB, free: 1.426 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1199, allocations: 11.94 kB / 331.5 MB, free: 1.414 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.1202, allocations: 93.64 kB / 331.6 MB, free: 1.316 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1202, allocations: 11.92 kB / 331.6 MB, free: 1.305 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1202, allocations: 0 / 331.6 MB, free: 1.305 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1203, allocations: 0 / 331.6 MB, free: 1.305 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.1206, allocations: 99.92 kB / 331.7 MB, free: 1.207 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.121, allocations: 304.8 kB / 332 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.1212, allocations: 82.56 kB / 332.1 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.1214, allocations: 60.94 kB / 332.2 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.1214, allocations: 0 / 332.2 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1215, allocations: 30.56 kB / 332.2 MB, free: 0.668 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.1215, allocations: 0 / 332.2 MB, free: 0.668 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005312/0.122, allocations: 193.4 kB / 332.4 MB, free: 484 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1221, allocations: 55.41 kB / 332.4 MB, free: 416 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/0.1222, allocations: 117.7 kB / 332.5 MB, free: 288 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1222, allocations: 25.7 kB / 332.6 MB, free: 256 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.1222, allocations: 99.97 kB / 332.7 MB, free: 152 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.1223, allocations: 19.81 kB / 332.7 MB, free: 132 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.1223, allocations: 0 / 332.7 MB, free: 132 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1224, allocations: 310.8 kB / 333 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1226, allocations: 47.95 kB / 333 MB, free: 15.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1227, allocations: 51.95 kB / 333.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.1229, allocations: 47.97 kB / 333.1 MB, free: 15.67 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1229, allocations: 0 / 333.1 MB, free: 15.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003183/0.1232, allocations: 133.6 kB / 333.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1232, allocations: 10.59 kB / 333.3 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1232, allocations: 0 / 333.3 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1232, allocations: 0 / 333.3 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1234, allocations: 27.97 kB / 333.3 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1234, allocations: 3.984 kB / 333.3 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.1235, allocations: 27.83 kB / 333.3 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.1235, allocations: 3.953 kB / 333.3 MB, free: 15.46 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 8.405e-05/0.1236, allocations: 113.8 kB / 333.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.1236, allocations: 4 kB / 333.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.124, allocations: 153.5 kB / 333.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.124, allocations: 7.875 kB / 333.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.124, allocations: 4 kB / 333.6 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.124, allocations: 4 kB / 333.6 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.1242, allocations: 189.5 kB / 333.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1242, allocations: 0 / 333.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1244, allocations: 23.98 kB / 333.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1244, allocations: 4 kB / 333.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.1244, allocations: 4 kB / 333.8 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1244, allocations: 0 / 333.8 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1244, allocations: 0 / 333.8 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.1248, allocations: 243.8 kB / 334.1 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.1248, allocations: 85.02 kB / 334.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1248, allocations: 0 / 334.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.125, allocations: 24.36 kB / 334.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.125, allocations: 15.91 kB / 334.2 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.125, allocations: 0 / 334.2 MB, free: 14.51 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.992e-05/0.1251, allocations: 99.2 kB / 334.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1251, allocations: 0 / 334.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.1253, allocations: 8 kB / 334.3 MB, free: 14.4 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001275/0.1254, allocations: 99.25 kB / 334.4 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.1258, allocations: 107.9 kB / 334.5 MB, free: 14.19 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1258, allocations: 0 / 334.5 MB, free: 14.19 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1259, allocations: 59.91 kB / 334.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1262, allocations: 19.94 kB / 334.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.1266, allocations: 204.5 kB / 334.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1269, allocations: 0.6926 MB / 335.5 MB, free: 13.16 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.1269, allocations: 15.44 kB / 335.5 MB, free: 13.15 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.127, allocations: 0 / 335.5 MB, free: 13.15 MB / 286.1 MB Notification: Performance of Templates: time 0.002295/0.1293, allocations: 0.9463 MB / 336.4 MB, free: 12.2 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.ComplexBlocks.Examples.TestConversionBlockCalcHelperMain.o OMCppModelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlockCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlockCalcHelperMain.o] Error 1