Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.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.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, 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.001774/0.001774, 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.778/1.778, allocations: 205.1 MB / 224.6 MB, free: 12.39 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.001241/0.001241, allocations: 51.94 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 46.64 MB / 327.3 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.005497/0.1355, allocations: 2.513 MB / 329.8 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1367, allocations: 247 kB / 330 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004685/0.1372, allocations: 4 kB / 330 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.1375, allocations: 31.77 kB / 330 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005106/0.138, allocations: 83.25 kB / 330.1 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.1384, allocations: 55.95 kB / 330.2 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006529/0.1391, allocations: 302.5 kB / 330.5 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.1394, allocations: 87.95 kB / 330.6 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.1397, allocations: 111.5 kB / 330.7 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.14, allocations: 123.5 kB / 330.8 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.346e-05/0.1401, allocations: 16 kB / 330.8 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.489e-05/0.1402, allocations: 16 kB / 330.8 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.296e-05/0.1403, allocations: 51.78 kB / 330.9 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.1406, allocations: 147.2 kB / 331 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.141, allocations: 231.3 kB / 331.2 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.141, allocations: 0 / 331.2 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.141, allocations: 0 / 331.2 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.767e-05/0.1411, allocations: 3.938 kB / 331.2 MB, free: 0.8828 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001342/0.1424, allocations: 0.5693 MB / 331.8 MB, free: 268 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.1425, allocations: 8.031 kB / 331.8 MB, free: 260 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.56e-05/0.1426, allocations: 32.56 kB / 331.9 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.143, allocations: 248 kB / 332.1 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.1431, allocations: 16.94 kB / 332.1 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.1432, allocations: 28.38 kB / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.1437, allocations: 259.1 kB / 332.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.1437, allocations: 4.172 kB / 332.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.1438, allocations: 15.94 kB / 332.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.1438, allocations: 4 kB / 332.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.1441, allocations: 175.9 kB / 332.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.1455, allocations: 0.7498 MB / 333.3 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005348/0.1461, allocations: 277 kB / 333.6 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.1463, allocations: 129 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1463, allocations: 7.938 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.1464, allocations: 34.56 kB / 333.8 MB, free: 14.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 2.064e-06/0.1464, allocations: 4 kB / 333.8 MB, free: 14.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.003074/0.1495, allocations: 1.708 MB / 335.5 MB, free: 12.28 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.1496, allocations: 81.11 kB / 335.6 MB, free: 12.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1498, allocations: 186.3 kB / 335.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1498, allocations: 29.7 kB / 335.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.15, allocations: 140.7 kB / 335.9 MB, free: 11.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.1501, allocations: 173.5 kB / 336.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.1503, allocations: 70.27 kB / 336.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.1505, allocations: 350.8 kB / 336.5 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.1507, allocations: 97.09 kB / 336.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.151, allocations: 157.5 kB / 336.7 MB, free: 10.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.1514, allocations: 278.2 kB / 337 MB, free: 10.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1514, allocations: 4 kB / 337 MB, free: 10.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005411/0.1519, allocations: 373.8 kB / 337.4 MB, free: 10.29 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1519, allocations: 7.938 kB / 337.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.152, allocations: 0 / 337.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.152, allocations: 4 kB / 337.4 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.1524, allocations: 103.8 kB / 337.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.1524, allocations: 4 kB / 337.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.1525, allocations: 12 kB / 337.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.1525, allocations: 12 kB / 337.5 MB, free: 10.14 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0001625/0.1527, allocations: 161.7 kB / 337.7 MB, free: 9.977 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.007e-05/0.1528, allocations: 27.66 kB / 337.7 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.587e-05/0.1529, allocations: 45.8 kB / 337.8 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1529, allocations: 8 kB / 337.8 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.1529, allocations: 0 / 337.8 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.1529, allocations: 7.969 kB / 337.8 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.1542, allocations: 0.944 MB / 338.7 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1542, allocations: 7.938 kB / 338.7 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.1546, allocations: 95.89 kB / 338.8 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1547, allocations: 8.062 kB / 338.8 MB, free: 8.77 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.1547, allocations: 4 kB / 338.8 MB, free: 8.766 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1547, allocations: 4 kB / 338.8 MB, free: 8.762 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1547, allocations: 3.938 kB / 338.8 MB, free: 8.758 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008972/0.1556, allocations: 0.6395 MB / 339.5 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/0.1557, allocations: 104.8 kB / 339.6 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.1558, allocations: 8 kB / 339.6 MB, free: 7.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1559, allocations: 12 kB / 339.6 MB, free: 7.949 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.156, allocations: 31.83 kB / 339.6 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.156, allocations: 12 kB / 339.6 MB, free: 7.906 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1562, allocations: 136.3 kB / 339.8 MB, free: 7.773 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.235e-06/0.1562, allocations: 0 / 339.8 MB, free: 7.773 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003596/0.1565, allocations: 83.94 kB / 339.9 MB, free: 7.691 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * 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.0001489/0.1567, allocations: 107.2 kB / 340 MB, free: 7.578 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004853/0.1572, allocations: 291.8 kB / 340.2 MB, free: 7.297 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1572, allocations: 0 / 340.2 MB, free: 7.297 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.1574, allocations: 155.6 kB / 340.4 MB, free: 7.145 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000684/0.1581, allocations: 72.14 kB / 340.5 MB, free: 7.074 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.1598, allocations: 1.138 MB / 341.6 MB, free: 5.898 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.1603, allocations: 0.7767 MB / 342.4 MB, free: 5.09 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.1604, allocations: 31.44 kB / 342.4 MB, free: 5.059 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1604, allocations: 0 / 342.4 MB, free: 5.059 MB / 286.1 MB Notification: Performance of Templates: time 0.006402/0.1668, allocations: 3.684 MB / 346.1 MB, free: 1.363 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.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.Mechanics.Translational.Examples.InitialConditionsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditionsCalcHelperMain.o] Error 1