Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007519/0.0007519, allocations: 99.59 kB / 15.71 MB, free: 452 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.0008786/0.0008787, allocations: 173.8 kB / 16.58 MB, free: 6.422 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.246/1.246, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8645/0.8645, allocations: 135.3 MB / 427 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002935, allocations: 8 kB / 0.5076 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1556, allocations: 82.31 MB / 0.588 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002416/0.158, allocations: 1.612 MB / 0.5896 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1593, allocations: 0.6512 MB / 0.5902 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1595, allocations: 4 kB / 0.5902 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.1598, allocations: 67.77 kB / 0.5903 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1599, allocations: 83.69 kB / 0.5903 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.1605, allocations: 135.8 kB / 0.5905 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.1608, allocations: 215.5 kB / 0.5907 GB, free: 356 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.161, allocations: 57.58 kB / 0.5907 GB, free: 300 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.1612, allocations: 87.67 kB / 0.5908 GB, free: 212 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1614, allocations: 119.5 kB / 0.5909 GB, free: 92 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.1614, allocations: 8 kB / 0.5909 GB, free: 84 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1616, allocations: 75.94 kB / 0.591 GB, free: 8 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.423e-05/0.1616, allocations: 43.89 kB / 0.5911 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.1617, allocations: 61.56 kB / 0.5911 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.162, allocations: 219.8 kB / 0.5913 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.162, allocations: 0 / 0.5913 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.394e-06/0.162, allocations: 0 / 0.5913 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.162, allocations: 0 / 0.5913 GB, free: 15.68 MB / 0.4981 GB 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.0008013/0.1628, allocations: 0.5545 MB / 0.5919 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1629, allocations: 8.031 kB / 0.5919 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.642e-05/0.1629, allocations: 31.62 kB / 0.5919 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.1634, allocations: 301.5 kB / 0.5922 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1634, allocations: 12 kB / 0.5922 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.1635, allocations: 12 kB / 0.5922 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.1639, allocations: 227.9 kB / 0.5924 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1639, allocations: 0 / 0.5924 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1639, allocations: 8 kB / 0.5924 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.164, allocations: 4 kB / 0.5924 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.1642, allocations: 132.3 kB / 0.5926 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008375/0.165, allocations: 0.6924 MB / 0.5932 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.1654, allocations: 178.5 kB / 0.5934 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.1656, allocations: 109 kB / 0.5935 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.1656, allocations: 0 / 0.5935 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.1659, allocations: 169 kB / 0.5937 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.1659, allocations: 0 / 0.5937 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006325/0.1665, allocations: 387 kB / 0.594 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.1666, allocations: 132.5 kB / 0.5942 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.1669, allocations: 282.6 kB / 0.5944 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1669, allocations: 29.7 kB / 0.5945 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.167, allocations: 164.2 kB / 0.5946 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.1671, allocations: 51.31 kB / 0.5947 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.1671, allocations: 4 kB / 0.5947 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.1672, allocations: 338.8 kB / 0.595 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1674, allocations: 84.16 kB / 0.5951 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.1676, allocations: 139.3 kB / 0.5952 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1678, allocations: 117.7 kB / 0.5953 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1678, allocations: 3.938 kB / 0.5953 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004633/0.1683, allocations: 341 kB / 0.5957 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.1683, allocations: 41.69 kB / 0.5957 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1683, allocations: 0 / 0.5957 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1683, allocations: 0 / 0.5957 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1685, allocations: 31.92 kB / 0.5957 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1685, allocations: 8.094 kB / 0.5957 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1686, allocations: 27.83 kB / 0.5958 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.1686, allocations: 8 kB / 0.5958 GB, free: 10.81 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.1688, allocations: 187.5 kB / 0.5959 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.1688, allocations: 27.67 kB / 0.596 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.1689, allocations: 33.81 kB / 0.596 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1689, allocations: 11.94 kB / 0.596 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1689, allocations: 0 / 0.596 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1689, allocations: 0 / 0.596 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.1692, allocations: 289.4 kB / 0.5963 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1692, allocations: 0 / 0.5963 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.1693, allocations: 19.94 kB / 0.5963 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1693, allocations: 4 kB / 0.5963 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1693, allocations: 4 kB / 0.5963 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1693, allocations: 4 kB / 0.5963 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1693, allocations: 4 kB / 0.5963 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.17, allocations: 477.6 kB / 0.5968 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.17, allocations: 96.86 kB / 0.5969 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.1701, allocations: 15.95 kB / 0.5969 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1702, allocations: 15.98 kB / 0.5969 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.1703, allocations: 27.95 kB / 0.5969 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.1703, allocations: 7.984 kB / 0.5969 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001792/0.1705, allocations: 198 kB / 0.5971 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1705, allocations: 0 / 0.5971 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002642/0.1708, allocations: 67.95 kB / 0.5972 GB, free: 9.242 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 (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.0001625/0.1709, allocations: 127.1 kB / 0.5973 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004216/0.1714, allocations: 299.2 kB / 0.5976 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1714, allocations: 192 / 0.5976 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.1716, allocations: 195.3 kB / 0.5978 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1719, allocations: 32.77 kB / 0.5978 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009045/0.1728, allocations: 0.5476 MB / 0.5984 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1731, allocations: 0.7518 MB / 0.5991 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.1731, allocations: 15.44 kB / 0.5991 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1732, allocations: 0 / 0.5991 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of Templates: time 0.005495/0.1787, allocations: 2.954 MB / 0.602 GB, free: 4.258 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.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 OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.o] Error 1