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.0008805/0.0008811, allocations: 102.8 kB / 15.71 MB, free: 460 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.001245/0.001245, allocations: 179.3 kB / 16.58 MB, free: 6.402 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.406/1.406, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7415/0.7415, allocations: 132.3 MB / 424 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 8.938 kB / 0.504 GB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5289/0.5293, allocations: 81.57 MB / 0.5837 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002176/0.5315, allocations: 1.608 MB / 0.5852 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.5326, allocations: 0.6622 MB / 0.5859 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.5328, allocations: 6.906 kB / 0.5859 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.533, allocations: 72.97 kB / 0.586 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.5332, allocations: 84.95 kB / 0.586 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.5337, allocations: 140.8 kB / 0.5862 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.534, allocations: 216.4 kB / 0.5864 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.5342, allocations: 48.17 kB / 0.5864 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.5343, allocations: 91.38 kB / 0.5865 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.5345, allocations: 117.4 kB / 0.5866 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.5346, allocations: 5.375 kB / 0.5866 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.5347, allocations: 75.19 kB / 0.5867 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.5348, allocations: 41.17 kB / 0.5867 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.5349, allocations: 62.42 kB / 0.5868 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.5352, allocations: 217.4 kB / 0.587 GB, free: 1.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5352, allocations: 0 / 0.587 GB, free: 1.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5352, allocations: 0.6562 kB / 0.587 GB, free: 1.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.5352, allocations: 3.938 kB / 0.587 GB, free: 1.949 MB / 430.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.0007362/0.536, allocations: 0.5493 MB / 0.5876 GB, free: 1.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.536, allocations: 9.25 kB / 0.5876 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.5361, allocations: 31.22 kB / 0.5876 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.5365, allocations: 304.8 kB / 0.5879 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.5365, allocations: 19.44 kB / 0.5879 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.5366, allocations: 13.5 kB / 0.5879 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.537, allocations: 219.4 kB / 0.5881 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.537, allocations: 0 / 0.5881 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.5371, allocations: 10.91 kB / 0.5881 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.5371, allocations: 3.594 kB / 0.5881 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.5374, allocations: 134.3 kB / 0.5883 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/0.5382, allocations: 0.6872 MB / 0.5889 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.5386, allocations: 178.6 kB / 0.5891 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.5388, allocations: 98.34 kB / 0.5892 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.5388, allocations: 5.969 kB / 0.5892 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003188/0.5391, allocations: 175.6 kB / 0.5894 GB, free: 236 kB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.5391, allocations: 0 / 0.5894 GB, free: 236 kB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007375/0.5399, allocations: 387.4 kB / 0.5897 GB, free: 88 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.54, allocations: 133.7 kB / 0.5899 GB, free: 15.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.5404, allocations: 279.2 kB / 0.5901 GB, free: 15.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.5404, allocations: 33.22 kB / 0.5902 GB, free: 15.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.5405, allocations: 162.4 kB / 0.5903 GB, free: 15.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.5406, allocations: 40.75 kB / 0.5904 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.5406, allocations: 5.438 kB / 0.5904 GB, free: 15.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5408, allocations: 343.3 kB / 0.5907 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.541, allocations: 89.06 kB / 0.5908 GB, free: 15.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.5412, allocations: 132.8 kB / 0.5909 GB, free: 15.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.5414, allocations: 111.7 kB / 0.591 GB, free: 15.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5414, allocations: 1.188 kB / 0.591 GB, free: 15.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005797/0.542, allocations: 349.2 kB / 0.5913 GB, free: 14.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.542, allocations: 34.94 kB / 0.5914 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5421, allocations: 10.69 kB / 0.5914 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5421, allocations: 2.125 kB / 0.5914 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.5422, allocations: 26.09 kB / 0.5914 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5422, allocations: 2.5 kB / 0.5914 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.5424, allocations: 30.06 kB / 0.5915 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.5424, allocations: 5.906 kB / 0.5915 GB, free: 14.89 MB / 446.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 ($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.0002039/0.5426, allocations: 197.8 kB / 0.5916 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.5427, allocations: 29.25 kB / 0.5917 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.5427, allocations: 26.72 kB / 0.5917 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5427, allocations: 2.219 kB / 0.5917 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5428, allocations: 0 / 0.5917 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.5428, allocations: 8.688 kB / 0.5917 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.5432, allocations: 293.4 kB / 0.592 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5432, allocations: 3.953 kB / 0.592 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.5433, allocations: 21.75 kB / 0.592 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5433, allocations: 0.7031 kB / 0.592 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.5433, allocations: 3.453 kB / 0.592 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5433, allocations: 1.953 kB / 0.592 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5433, allocations: 3.984 kB / 0.592 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000847/0.5442, allocations: 472.8 kB / 0.5925 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/0.5443, allocations: 108.5 kB / 0.5926 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.5443, allocations: 3.984 kB / 0.5926 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.5445, allocations: 24.38 kB / 0.5926 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/0.5446, allocations: 26.42 kB / 0.5926 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.5446, allocations: 4.969 kB / 0.5926 GB, free: 14.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.5448, allocations: 202.6 kB / 0.5928 GB, free: 13.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5448, allocations: 0.5625 kB / 0.5928 GB, free: 13.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.5452, allocations: 60.52 kB / 0.5929 GB, free: 13.97 MB / 446.1 MB 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.0002256/0.5454, allocations: 132 kB / 0.593 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005356/0.5459, allocations: 301.6 kB / 0.5933 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5459, allocations: 0.5 kB / 0.5933 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.5462, allocations: 193.8 kB / 0.5935 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.5465, allocations: 32.27 kB / 0.5935 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.5476, allocations: 0.542 MB / 0.594 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.5481, allocations: 0.7538 MB / 0.5948 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.5481, allocations: 18.2 kB / 0.5948 GB, free: 12.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5481, allocations: 0.8438 kB / 0.5948 GB, free: 12.57 MB / 446.1 MB Notification: Performance of Templates: time 0.006128/0.5543, allocations: 2.956 MB / 0.5977 GB, free: 11.82 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile make -j1 -f IDEAS_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_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