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.001369/0.001369, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.00159/0.00159, allocations: 194 kB / 18.72 MB, free: 4.762 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.937/1.937, allocations: 205.1 MB / 224.6 MB, free: 12.38 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.001487/0.001488, allocations: 56.33 kB / 280.6 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1456, allocations: 46.64 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003776/0.1494, allocations: 1.55 MB / 328.8 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1506, allocations: 0.5424 MB / 329.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.1506, allocations: 0 / 329.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.1508, allocations: 11.94 kB / 329.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.1509, allocations: 11.91 kB / 329.4 MB, free: 2.758 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.1511, allocations: 31.98 kB / 329.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1512, allocations: 43.86 kB / 329.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.1514, allocations: 23.97 kB / 329.5 MB, free: 2.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.1516, allocations: 27.92 kB / 329.5 MB, free: 2.633 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.1517, allocations: 27.84 kB / 329.5 MB, free: 2.605 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1517, allocations: 4 kB / 329.5 MB, free: 2.602 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.281e-05/0.1518, allocations: 19.94 kB / 329.5 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.1518, allocations: 11.92 kB / 329.5 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.1519, allocations: 27.8 kB / 329.6 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.152, allocations: 47.92 kB / 329.6 MB, free: 2.496 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.1521, allocations: 0 / 329.6 MB, free: 2.496 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1521, allocations: 0 / 329.6 MB, free: 2.496 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1521, allocations: 0 / 329.6 MB, free: 2.496 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.0008458/0.1529, allocations: 383.6 kB / 330 MB, free: 2.074 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.153, allocations: 8.031 kB / 330 MB, free: 2.066 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.1531, allocations: 8.844 kB / 330 MB, free: 2.059 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.1532, allocations: 180.2 kB / 330.2 MB, free: 1.844 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1533, allocations: 4.375 kB / 330.2 MB, free: 1.84 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.1533, allocations: 4.375 kB / 330.2 MB, free: 1.836 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.1536, allocations: 89.95 kB / 330.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1536, allocations: 0 / 330.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1536, allocations: 0 / 330.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1536, allocations: 0 / 330.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.154, allocations: 79.92 kB / 330.4 MB, free: 1.664 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.1545, allocations: 320.6 kB / 330.7 MB, free: 1.301 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.1548, allocations: 70.53 kB / 330.7 MB, free: 1.223 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.155, allocations: 45.05 kB / 330.8 MB, free: 1.176 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.155, allocations: 7.938 kB / 330.8 MB, free: 1.168 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.155, allocations: 30.56 kB / 330.8 MB, free: 1.129 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1551, allocations: 0 / 330.8 MB, free: 1.129 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006069/0.1557, allocations: 153.5 kB / 331 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.1557, allocations: 55.41 kB / 331 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1559, allocations: 113.8 kB / 331.1 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1559, allocations: 29.64 kB / 331.2 MB, free: 0.75 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.1559, allocations: 92.12 kB / 331.3 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.156, allocations: 11.81 kB / 331.3 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.156, allocations: 17.72 kB / 331.3 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1562, allocations: 322.8 kB / 331.6 MB, free: 304 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1564, allocations: 43.91 kB / 331.6 MB, free: 260 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.1565, allocations: 36.33 kB / 331.7 MB, free: 224 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.1568, allocations: 84.78 kB / 331.8 MB, free: 136 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1568, allocations: 0 / 331.8 MB, free: 136 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003479/0.1572, allocations: 113.5 kB / 331.9 MB, free: 16 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1572, allocations: 4 kB / 331.9 MB, free: 12 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1572, allocations: 0 / 331.9 MB, free: 12 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.1572, allocations: 0 / 331.9 MB, free: 12 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.1574, allocations: 27.91 kB / 331.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1574, allocations: 0 / 331.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.1575, allocations: 15.92 kB / 331.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1576, allocations: 8 kB / 331.9 MB, free: 15.96 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.1577, allocations: 113.8 kB / 332 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.1577, allocations: 7.906 kB / 332 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.1582, allocations: 129.6 kB / 332.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1582, allocations: 4 kB / 332.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1582, allocations: 0 / 332.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1582, allocations: 0 / 332.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.1584, allocations: 189.6 kB / 332.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1584, allocations: 3.984 kB / 332.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1586, allocations: 23.92 kB / 332.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1586, allocations: 0 / 332.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1586, allocations: 0 / 332.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1586, allocations: 0 / 332.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1586, allocations: 0 / 332.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.159, allocations: 231.4 kB / 332.6 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.1591, allocations: 77.11 kB / 332.7 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1591, allocations: 0 / 332.7 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1592, allocations: 16.05 kB / 332.7 MB, free: 15.08 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.1593, allocations: 15.98 kB / 332.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1593, allocations: 0 / 332.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.057e-05/0.1594, allocations: 99.52 kB / 332.8 MB, free: 14.97 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.606e-06/0.1594, allocations: 0 / 332.8 MB, free: 14.97 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1596, allocations: 19.78 kB / 332.8 MB, free: 14.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001804/0.1598, allocations: 99.23 kB / 332.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004113/0.1602, allocations: 91.91 kB / 333 MB, free: 14.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1603, allocations: 0 / 333 MB, free: 14.75 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1604, allocations: 47.91 kB / 333.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.1608, allocations: 7.984 kB / 333.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.1613, allocations: 217.5 kB / 333.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.1617, allocations: 0.6848 MB / 334 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.1618, allocations: 11.44 kB / 334 MB, free: 13.73 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1618, allocations: 0 / 334 MB, free: 13.73 MB / 286.1 MB Notification: Performance of Templates: time 0.002815/0.1646, allocations: 0.965 MB / 335 MB, free: 12.77 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++ -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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