Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PistonEngine.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) 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(PlanarMechanics.Examples.PistonEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PistonEngine") translateModel(PlanarMechanics.Examples.PistonEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PistonEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002286/0.002286, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.585/1.585, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2549/0.2549, allocations: 9.088 MB / 301.2 MB, free: 2.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 8 kB / 364.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 52.44 MB / 416.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PistonEngine): time 0.3064/0.4478, allocations: 38.6 MB / 455.4 MB, free: 19.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01904/0.4669, allocations: 8.385 MB / 463.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008154/0.475, allocations: 146.3 kB / 463.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.4762, allocations: 346.8 kB / 464.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004207/0.4805, allocations: 1.429 MB / 465.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006782/0.4811, allocations: 166.6 kB / 465.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005105/0.4863, allocations: 3.91 MB / 469.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.4878, allocations: 0.9574 MB / 470.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.4892, allocations: 0.8673 MB / 471.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.4909, allocations: 1.46 MB / 473 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.4913, allocations: 147.7 kB / 473.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.4929, allocations: 0.7874 MB / 474 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.494, allocations: 1.265 MB / 475.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.4953, allocations: 1.677 MB / 476.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004511/0.4998, allocations: 4.002 MB / 480.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4999, allocations: 0 / 480.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4999, allocations: 2.344 kB / 480.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001208/0.5, allocations: 0 / 480.9 MB, free: 7.973 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01524/0.5152, allocations: 4.444 MB / 485.4 MB, free: 6.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.5153, allocations: 10.95 kB / 485.4 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007977/0.5233, allocations: 1.851 MB / 487.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/0.5272, allocations: 1.497 MB / 488.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.5274, allocations: 178.8 kB / 488.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007232/0.5281, allocations: 229.3 kB / 489.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/0.5465, allocations: 8.949 MB / 498.1 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.272e-05/0.5467, allocations: 34.3 kB / 498.1 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000317/0.547, allocations: 114.7 kB / 498.2 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003328/0.5503, allocations: 2.013 MB / 0.4885 GB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01641/0.5667, allocations: 7.963 MB / 0.4963 GB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04411/0.6109, allocations: 28.58 MB / 0.5242 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008007/0.6189, allocations: 2.821 MB / 0.5269 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.6209, allocations: 0.9863 MB / 0.5279 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.6324, allocations: 6.468 MB / 0.5342 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/0.6325, allocations: 43.88 kB / 0.5343 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=155): time 6.632e-06/0.6325, allocations: 0 / 0.5343 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.0188/0.6513, allocations: 6.486 MB / 0.5406 GB, free: 8.969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.6516, allocations: 69.41 kB / 0.5407 GB, free: 8.887 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007032/0.6586, allocations: 3.019 MB / 0.5436 GB, free: 5.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003862/0.659, allocations: 57.64 kB / 0.5437 GB, free: 5.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002899/0.6619, allocations: 2.369 MB / 0.546 GB, free: 3.391 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.6631, allocations: 0.7015 MB / 0.5467 GB, free: 2.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/0.6643, allocations: 396.1 kB / 0.547 GB, free: 2.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6644, allocations: 309.1 kB / 0.5473 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/0.668, allocations: 1.497 MB / 0.5488 GB, free: 488 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006335/0.6743, allocations: 4.086 MB / 0.5528 GB, free: 11.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009566/0.6839, allocations: 6.033 MB / 0.5587 GB, free: 3.816 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001391/0.6841, allocations: 28 kB / 0.5587 GB, free: 3.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=615) (initialization): time 0.01492/0.699, allocations: 5.964 MB / 0.5645 GB, free: 13.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.6992, allocations: 44.19 kB / 0.5646 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/0.6994, allocations: 92 kB / 0.5647 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.7011, allocations: 0.5746 MB / 0.5652 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003718/0.7048, allocations: 1.002 MB / 0.5662 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.7163, allocations: 8.53 MB / 0.5745 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004906/0.7212, allocations: 239.9 kB / 0.5748 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/0.7224, allocations: 280 kB / 0.575 GB, free: 2.645 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 410 * Number of states: 0 () * Number of discrete variables: 24 (revolutePiston.cylinderColor[3],revolutePiston.cylinderColor[2],revolutePiston.cylinderColor[1],bodyPiston.sphereColor[3],bodyPiston.sphereColor[2],bodyPiston.sphereColor[1],pistonRod.color[3],pistonRod.color[2],pistonRod.color[1],revoluteDisc.cylinderColor[3],revoluteDisc.cylinderColor[2],revoluteDisc.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],fixedTranslationDisc.color[3],fixedTranslationDisc.color[2],fixedTranslationDisc.color[1],revoluteDrive.cylinderColor[3],revoluteDrive.cylinderColor[2],revoluteDrive.cylinderColor[1],bodyDrive.sphereColor[3],bodyDrive.sphereColor[2],bodyDrive.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 541 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,19,56.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.004873/0.7273, allocations: 1.724 MB / 0.5767 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008021/0.7281, allocations: 268.5 kB / 0.577 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2604/0.9885, allocations: 2.656 MB / 0.5796 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001244/0.9887, allocations: 31.16 kB / 0.5796 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.9887, allocations: 8.125 kB / 0.5796 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/0.9887, allocations: 10.03 kB / 0.5796 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/1.002, allocations: 7.317 MB / 0.5868 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.002, allocations: 3.094 kB / 0.5868 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008499/1.003, allocations: 238.5 kB / 0.587 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/1.004, allocations: 454.5 kB / 0.5874 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.82e-05/1.004, allocations: 33.17 kB / 0.5874 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007563/1.011, allocations: 7.225 MB / 0.5945 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/1.011, allocations: 13.53 kB / 0.5945 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006313/1.018, allocations: 3.992 MB / 0.5984 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.019, allocations: 358.7 kB / 0.5988 GB, free: 114.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/1.019, allocations: 37.59 kB / 0.5988 GB, free: 114.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/1.02, allocations: 78.73 kB / 0.5989 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/1.02, allocations: 130.7 kB / 0.599 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/1.02, allocations: 57.5 kB / 0.599 GB, free: 114.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002999/1.023, allocations: 1.936 MB / 0.6009 GB, free: 114.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.322e-06/1.023, allocations: 3.812 kB / 0.6009 GB, free: 114.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004226/1.028, allocations: 0.8328 MB / 0.6018 GB, free: 114 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (revoluteDrive.phi,revoluteDrive.w) * 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 (135): * Single equations (assignments): 128 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,56.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004286/1.028, allocations: 164.4 kB / 0.6019 GB, free: 113.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006686/1.035, allocations: 4.125 MB / 0.6059 GB, free: 112.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.035, allocations: 1.219 kB / 0.6059 GB, free: 112.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002108/1.037, allocations: 1.592 MB / 0.6075 GB, free: 111.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/1.041, allocations: 421.2 kB / 0.6079 GB, free: 111.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/1.057, allocations: 9.483 MB / 0.6172 GB, free: 106.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004036/1.061, allocations: 2.805 MB / 0.6199 GB, free: 104.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.062, allocations: 240.1 kB / 0.6201 GB, free: 104.9 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/1.062, allocations: 1.641 kB / 0.6201 GB, free: 104.9 MB / 446.1 MB Notification: Performance of Templates: time 0.1197/1.181, allocations: 97.22 MB / 0.7151 GB, free: 19.89 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PistonEngine.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PistonEngine.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 OMCppPlanarMechanics_PlanarMechanics.Examples.PistonEngineCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.PistonEngineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.PistonEngineCalcHelperMain.o] Error 1