Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 88.77 kB / 16.95 MB, free: 5.66 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.00146/0.00146, allocations: 187.5 kB / 17.85 MB, free: 5.312 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.588/1.588, allocations: 223.2 MB / 241.9 MB, free: 64 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002849, allocations: 4 kB / 301.5 MB, free: 6.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1367, allocations: 50.42 MB / 351.9 MB, free: 3.965 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005057/0.1418, allocations: 3.544 MB / 355.4 MB, free: 412 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003311/0.1451, allocations: 1.492 MB / 356.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.1454, allocations: 12 kB / 356.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006128/0.146, allocations: 171.1 kB / 357.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007227/0.1468, allocations: 190.7 kB / 357.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.1484, allocations: 0.6456 MB / 357.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006544/0.1491, allocations: 0.5599 MB / 358.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001912/0.151, allocations: 0.8219 MB / 359.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.1515, allocations: 227.1 kB / 359.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.152, allocations: 294.8 kB / 359.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.476e-05/0.152, allocations: 28 kB / 359.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006771/0.1527, allocations: 223.8 kB / 360.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.1528, allocations: 103.5 kB / 360.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1529, allocations: 129.4 kB / 360.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007692/0.1537, allocations: 0.678 MB / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1537, allocations: 0 / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1537, allocations: 0 / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1538, allocations: 0 / 361 MB, free: 10.8 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003385/0.1571, allocations: 1.116 MB / 362.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1572, allocations: 8.031 kB / 362.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.1583, allocations: 183 kB / 362.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.1585, allocations: 223.9 kB / 362.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.1586, allocations: 57.94 kB / 362.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.1587, allocations: 71.89 kB / 362.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.16, allocations: 0.7112 MB / 363.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.1601, allocations: 4 kB / 363.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.205e-05/0.1601, allocations: 24 kB / 363.4 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.1602, allocations: 16 kB / 363.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.1616, allocations: 0.6219 MB / 364 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.1651, allocations: 2.324 MB / 366.3 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.167, allocations: 1.628 MB / 367.9 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/0.1676, allocations: 287.7 kB / 368.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.1678, allocations: 97.64 kB / 368.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.1679, allocations: 35.12 kB / 368.4 MB, free: 2.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.635e-06/0.1679, allocations: 0 / 368.4 MB, free: 2.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.00163/0.1695, allocations: 0.7329 MB / 369.1 MB, free: 2.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.516e-05/0.1696, allocations: 115.4 kB / 369.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.17, allocations: 260.9 kB / 369.5 MB, free: 1.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.17, allocations: 37.7 kB / 369.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.1702, allocations: 264 kB / 369.7 MB, free: 1.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.1704, allocations: 228.7 kB / 370 MB, free: 1.234 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.1705, allocations: 16 kB / 370 MB, free: 1.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1706, allocations: 346.8 kB / 370.3 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.1711, allocations: 217.8 kB / 370.5 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.1717, allocations: 313.4 kB / 370.8 MB, free: 332 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.1722, allocations: 255.2 kB / 371.1 MB, free: 84 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1722, allocations: 0 / 371.1 MB, free: 84 kB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.2482/0.4204, allocations: 0.6395 MB / 371.7 MB, free: 24.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.4205, allocations: 7.484 kB / 371.7 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4205, allocations: 4.75 kB / 371.7 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.4205, allocations: 6.156 kB / 371.8 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.4213, allocations: 165.2 kB / 371.9 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.4213, allocations: 6.047 kB / 371.9 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.4218, allocations: 76.69 kB / 372 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/0.4219, allocations: 26.17 kB / 372 MB, free: 24.1 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * 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.0003073/0.4222, allocations: 187.6 kB / 372.2 MB, free: 23.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.4223, allocations: 42.92 kB / 372.2 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.4238, allocations: 0.6171 MB / 372.9 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.4238, allocations: 8.766 kB / 372.9 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.4239, allocations: 5.297 kB / 372.9 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.4239, allocations: 4.531 kB / 372.9 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.4268, allocations: 1.314 MB / 374.2 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4268, allocations: 0.8125 kB / 374.2 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.4274, allocations: 139.6 kB / 374.3 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.4274, allocations: 3.5 kB / 374.3 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.4275, allocations: 18.3 kB / 374.4 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.4275, allocations: 6.391 kB / 374.4 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/0.4275, allocations: 5.781 kB / 374.4 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.4295, allocations: 1.001 MB / 375.4 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.4296, allocations: 120.5 kB / 375.5 MB, free: 23.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.4297, allocations: 11.72 kB / 375.5 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.4301, allocations: 35.83 kB / 375.5 MB, free: 23.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.4302, allocations: 44.61 kB / 375.6 MB, free: 23.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.4303, allocations: 18 kB / 375.6 MB, free: 23.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.4305, allocations: 189.3 kB / 375.8 MB, free: 22.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4305, allocations: 0 / 375.8 MB, free: 22.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006813/0.4312, allocations: 178.7 kB / 376 MB, free: 22.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * 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.000276/0.4315, allocations: 154.6 kB / 376.1 MB, free: 22.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.4327, allocations: 0.5525 MB / 376.7 MB, free: 22.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4327, allocations: 0 / 376.7 MB, free: 22.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005315/0.4332, allocations: 278.9 kB / 376.9 MB, free: 22.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.4337, allocations: 53.69 kB / 377 MB, free: 22.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.4361, allocations: 1.34 MB / 378.3 MB, free: 21.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.4364, allocations: 0.8454 MB / 379.2 MB, free: 20.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.4366, allocations: 54.45 kB / 379.2 MB, free: 20.96 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4366, allocations: 0 / 379.2 MB, free: 20.96 MB / 302.1 MB Notification: Performance of Templates: time 0.01147/0.4481, allocations: 6.658 MB / 385.9 MB, free: 19.17 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSectionsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSectionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSectionsCalcHelperMain.o] Error 1