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.0009271/0.0009277, allocations: 96.72 kB / 17.96 MB, free: 5.629 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.0009648/0.0009651, allocations: 181.4 kB / 18.86 MB, free: 4.777 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.857/1.857, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005334/0.0005334, allocations: 8 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1293, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003578/0.133, allocations: 2.143 MB / 331.8 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008928/0.1339, allocations: 251 kB / 332 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.1342, allocations: 4 kB / 332 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.1344, allocations: 27.77 kB / 332 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.1347, allocations: 91.3 kB / 332.1 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.1349, allocations: 51.89 kB / 332.2 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.1352, allocations: 310.5 kB / 332.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.1355, allocations: 79.97 kB / 332.6 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.1356, allocations: 99.58 kB / 332.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1358, allocations: 119.4 kB / 332.8 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.1358, allocations: 12 kB / 332.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.613e-05/0.1358, allocations: 12 kB / 332.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.1359, allocations: 55.75 kB / 332.8 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.1361, allocations: 161 kB / 333 MB, free: 360 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.1363, allocations: 231.3 kB / 333.2 MB, free: 128 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1363, allocations: 0 / 333.2 MB, free: 128 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1363, allocations: 0 / 333.2 MB, free: 128 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1363, allocations: 0 / 333.2 MB, free: 128 kB / 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.0008577/0.1372, allocations: 0.5186 MB / 333.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.1373, allocations: 12.03 kB / 333.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.1374, allocations: 36.5 kB / 333.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.1377, allocations: 247.8 kB / 334 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1378, allocations: 20.94 kB / 334.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.1378, allocations: 28.28 kB / 334.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.1383, allocations: 263.1 kB / 334.3 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.1383, allocations: 8.188 kB / 334.3 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.1383, allocations: 11.94 kB / 334.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1384, allocations: 8 kB / 334.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.1387, allocations: 167.9 kB / 334.5 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.1398, allocations: 0.754 MB / 335.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.1403, allocations: 272.9 kB / 335.6 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.1405, allocations: 128.8 kB / 335.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.1405, allocations: 11.92 kB / 335.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.1406, allocations: 38.56 kB / 335.7 MB, free: 13.44 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.382e-06/0.1406, allocations: 4 kB / 335.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002997/0.1436, allocations: 1.712 MB / 337.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.1437, allocations: 81.11 kB / 337.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.1439, allocations: 182.3 kB / 337.7 MB, free: 11.26 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.1439, allocations: 33.7 kB / 337.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1441, allocations: 144.7 kB / 337.9 MB, free: 11.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.1443, allocations: 169.5 kB / 338 MB, free: 10.9 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.1444, allocations: 49.69 kB / 338.1 MB, free: 10.85 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.1447, allocations: 334.8 kB / 338.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.1449, allocations: 105.1 kB / 338.5 MB, free: 10.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.1451, allocations: 153.5 kB / 338.7 MB, free: 10.24 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.1456, allocations: 286.1 kB / 338.9 MB, free: 9.953 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1456, allocations: 4 kB / 339 MB, free: 9.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005371/0.1462, allocations: 361.9 kB / 339.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1462, allocations: 8 kB / 339.3 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1462, allocations: 3.938 kB / 339.3 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.1462, allocations: 4 kB / 339.3 MB, free: 9.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.1466, allocations: 103.8 kB / 339.4 MB, free: 9.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1466, allocations: 8.062 kB / 339.4 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1468, allocations: 8 kB / 339.4 MB, free: 9.457 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.1468, allocations: 16 kB / 339.5 MB, free: 9.441 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.0001834/0.147, allocations: 153.7 kB / 339.6 MB, free: 9.281 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.1471, allocations: 35.56 kB / 339.6 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.1472, allocations: 37.86 kB / 339.7 MB, free: 9.211 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1472, allocations: 8 kB / 339.7 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.1472, allocations: 0 / 339.7 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.1472, allocations: 7.922 kB / 339.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.1486, allocations: 0.9517 MB / 340.6 MB, free: 8.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1486, allocations: 3.938 kB / 340.6 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/0.149, allocations: 95.89 kB / 340.7 MB, free: 8.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.149, allocations: 4 kB / 340.7 MB, free: 8.078 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.149, allocations: 8 kB / 340.8 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.149, allocations: 4 kB / 340.8 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.149, allocations: 3.938 kB / 340.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008357/0.1499, allocations: 0.6435 MB / 341.4 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.15, allocations: 100.7 kB / 341.5 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.15, allocations: 16 kB / 341.5 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.1502, allocations: 8 kB / 341.5 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.1502, allocations: 31.81 kB / 341.6 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1503, allocations: 12 kB / 341.6 MB, free: 7.203 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1504, allocations: 136.3 kB / 341.7 MB, free: 7.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.864e-06/0.1504, allocations: 0 / 341.7 MB, free: 7.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.1508, allocations: 79.94 kB / 341.8 MB, free: 6.992 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.0001368/0.1509, allocations: 107.2 kB / 341.9 MB, free: 6.879 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000463/0.1514, allocations: 291.8 kB / 342.2 MB, free: 6.598 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1514, allocations: 0 / 342.2 MB, free: 6.598 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.1516, allocations: 160.6 kB / 342.3 MB, free: 6.441 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006329/0.1523, allocations: 72.09 kB / 342.4 MB, free: 6.371 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.1541, allocations: 1.271 MB / 343.7 MB, free: 5.059 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.1546, allocations: 0.7767 MB / 344.4 MB, free: 4.25 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.142e-05/0.1547, allocations: 31.44 kB / 344.5 MB, free: 4.219 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1547, allocations: 0 / 344.5 MB, free: 4.219 MB / 286.1 MB Notification: Performance of Templates: time 0.006223/0.161, allocations: 3.645 MB / 348.1 MB, free: 0.5703 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