Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005609/0.005609, allocations: 100.9 kB / 15.87 MB, free: 5.844 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.00112/0.00112, allocations: 191.5 kB / 16.79 MB, free: 5.781 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.351/1.351, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7488/0.7488, allocations: 132.2 MB / 422.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 60.38 kB / 0.5017 GB, free: 9.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1706, allocations: 80.21 MB / 0.58 GB, free: 9.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003217/0.1738, allocations: 1.993 MB / 0.582 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.175, allocations: 0.7285 MB / 0.5827 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1751, allocations: 3.938 kB / 0.5827 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.1754, allocations: 75.78 kB / 0.5828 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.1755, allocations: 79.75 kB / 0.5828 GB, free: 6.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.176, allocations: 158.9 kB / 0.583 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.1762, allocations: 243.4 kB / 0.5832 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.1764, allocations: 77.84 kB / 0.5833 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1765, allocations: 99.66 kB / 0.5834 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1767, allocations: 139.5 kB / 0.5835 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.1767, allocations: 8 kB / 0.5835 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.1769, allocations: 87.86 kB / 0.5836 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.1769, allocations: 43.84 kB / 0.5837 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1771, allocations: 95.33 kB / 0.5838 GB, free: 5.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.1773, allocations: 215.6 kB / 0.584 GB, free: 5.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1773, allocations: 4 kB / 0.584 GB, free: 5.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1773, allocations: 0 / 0.584 GB, free: 5.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1773, allocations: 0 / 0.584 GB, free: 5.148 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007645/0.1781, allocations: 0.5858 MB / 0.5845 GB, free: 4.508 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1781, allocations: 8.031 kB / 0.5845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.1782, allocations: 28.66 kB / 0.5846 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.1786, allocations: 306.8 kB / 0.5849 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1786, allocations: 12.38 kB / 0.5849 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.1787, allocations: 15.94 kB / 0.5849 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.1791, allocations: 231.8 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1791, allocations: 0 / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1791, allocations: 4 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1791, allocations: 4 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.1794, allocations: 133.3 kB / 0.5852 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.1802, allocations: 0.6846 MB / 0.5859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.1805, allocations: 166.6 kB / 0.5861 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.1807, allocations: 96.83 kB / 0.5862 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.1807, allocations: 0 / 0.5862 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.1811, allocations: 169 kB / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.1811, allocations: 0 / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006505/0.1817, allocations: 381.7 kB / 0.5867 GB, free: 2.141 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.1818, allocations: 132.6 kB / 0.5868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.1821, allocations: 282.6 kB / 0.5871 GB, free: 1.699 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1821, allocations: 29.7 kB / 0.5871 GB, free: 1.664 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1822, allocations: 164.1 kB / 0.5873 GB, free: 1.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.1823, allocations: 39.45 kB / 0.5873 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.1823, allocations: 37.72 kB / 0.5873 GB, free: 1.418 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1825, allocations: 350.7 kB / 0.5877 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.1826, allocations: 83.97 kB / 0.5878 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.1828, allocations: 129.8 kB / 0.5879 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.1831, allocations: 240.5 kB / 0.5881 GB, free: 0.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1831, allocations: 0 / 0.5881 GB, free: 0.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004643/0.1836, allocations: 340.1 kB / 0.5884 GB, free: 244 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.1837, allocations: 33.7 kB / 0.5885 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1837, allocations: 0 / 0.5885 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1837, allocations: 4.094 kB / 0.5885 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1838, allocations: 35.86 kB / 0.5885 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.1838, allocations: 3.984 kB / 0.5885 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.1839, allocations: 31.67 kB / 0.5885 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.184, allocations: 8 kB / 0.5885 GB, free: 120 kB / 494.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: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001864/0.1842, allocations: 198.8 kB / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.1842, allocations: 23.72 kB / 0.5888 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/0.1843, allocations: 33.83 kB / 0.5888 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1843, allocations: 0 / 0.5888 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1843, allocations: 0 / 0.5888 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1843, allocations: 7.922 kB / 0.5888 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.1845, allocations: 281.5 kB / 0.5891 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1846, allocations: 0 / 0.5891 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.1847, allocations: 19.92 kB / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1847, allocations: 4 kB / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.1847, allocations: 4 kB / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1847, allocations: 4 kB / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1847, allocations: 4 kB / 0.5891 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.1854, allocations: 466.2 kB / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.1855, allocations: 104.8 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.1855, allocations: 4 kB / 0.5897 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1856, allocations: 15.98 kB / 0.5897 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.1857, allocations: 28.02 kB / 0.5897 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.1857, allocations: 7.938 kB / 0.5897 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000176/0.1859, allocations: 205.9 kB / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1859, allocations: 0 / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000264/0.1862, allocations: 60.06 kB / 0.59 GB, free: 14.57 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0002148/0.1864, allocations: 131.2 kB / 0.5901 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004604/0.1869, allocations: 298.2 kB / 0.5904 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1869, allocations: 0 / 0.5904 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.1871, allocations: 191.2 kB / 0.5905 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.1874, allocations: 28.55 kB / 0.5906 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009837/0.1884, allocations: 0.567 MB / 0.5911 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1888, allocations: 0.7517 MB / 0.5919 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.1888, allocations: 19.44 kB / 0.5919 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.1888, allocations: 0 / 0.5919 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.004426/0.1933, allocations: 2.989 MB / 0.5948 GB, free: 9.535 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.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 OMCppIDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.o] Error 1