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.0007524/0.0007526, 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.0009675/0.0009676, 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7101/0.7101, allocations: 132.3 MB / 424.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003265, allocations: 8 kB / 0.5046 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4975, allocations: 81.58 MB / 0.5843 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002276/0.4998, allocations: 1.646 MB / 0.5859 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.5011, allocations: 0.7148 MB / 0.5866 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.5012, allocations: 2.031 kB / 0.5866 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.5014, allocations: 73.41 kB / 0.5867 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.5016, allocations: 89.14 kB / 0.5868 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.5021, allocations: 157.3 kB / 0.5869 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.5025, allocations: 244.3 kB / 0.5871 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.5027, allocations: 59.78 kB / 0.5872 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.5028, allocations: 92.06 kB / 0.5873 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.5031, allocations: 128.4 kB / 0.5874 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.5031, allocations: 5.719 kB / 0.5874 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.5033, allocations: 76.11 kB / 0.5875 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.852e-05/0.5034, allocations: 47.84 kB / 0.5875 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.5035, allocations: 116.6 kB / 0.5876 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.5038, allocations: 215.9 kB / 0.5878 GB, free: 1.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5039, allocations: 0 / 0.5878 GB, free: 1.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5039, allocations: 3.938 kB / 0.5878 GB, free: 1.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.5039, allocations: 0 / 0.5878 GB, free: 1.859 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.0008252/0.5047, allocations: 0.551 MB / 0.5884 GB, free: 1.367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5048, allocations: 9.125 kB / 0.5884 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.5048, allocations: 31.38 kB / 0.5884 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.5053, allocations: 310.5 kB / 0.5887 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.5054, allocations: 16.09 kB / 0.5887 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.5054, allocations: 16.59 kB / 0.5888 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.5059, allocations: 222 kB / 0.589 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5059, allocations: 3.938 kB / 0.589 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.5059, allocations: 10.31 kB / 0.589 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.506, allocations: 6.391 kB / 0.589 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.5063, allocations: 128.5 kB / 0.5891 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.5072, allocations: 0.6906 MB / 0.5898 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.5076, allocations: 175.8 kB / 0.5899 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.5078, allocations: 106.6 kB / 0.59 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.5078, allocations: 1.625 kB / 0.59 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.5082, allocations: 181 kB / 0.5902 GB, free: 128 kB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.5082, allocations: 0 / 0.5902 GB, free: 128 kB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008187/0.509, allocations: 385.5 kB / 0.5906 GB, free: 15.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002038/0.5092, allocations: 141.9 kB / 0.5907 GB, free: 15.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.5097, allocations: 275.2 kB / 0.591 GB, free: 15.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.5097, allocations: 32.48 kB / 0.591 GB, free: 15.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5099, allocations: 156.5 kB / 0.5912 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.5099, allocations: 44.83 kB / 0.5912 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.51, allocations: 23.66 kB / 0.5912 GB, free: 15.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000257/0.5102, allocations: 346.8 kB / 0.5916 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.5104, allocations: 90.84 kB / 0.5917 GB, free: 15.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.5107, allocations: 130.5 kB / 0.5918 GB, free: 15.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.5111, allocations: 248.8 kB / 0.592 GB, free: 14.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5111, allocations: 0 / 0.592 GB, free: 14.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005896/0.5117, allocations: 347.8 kB / 0.5923 GB, free: 14.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.5118, allocations: 35.91 kB / 0.5924 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5118, allocations: 1.219 kB / 0.5924 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.5118, allocations: 1.906 kB / 0.5924 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.512, allocations: 35.52 kB / 0.5924 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5121, allocations: 5.812 kB / 0.5924 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.5122, allocations: 30.75 kB / 0.5925 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.5123, allocations: 9.375 kB / 0.5925 GB, free: 14.67 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 (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.0001964/0.5125, allocations: 197.6 kB / 0.5926 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.5125, allocations: 25.12 kB / 0.5927 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.562e-05/0.5126, allocations: 30.75 kB / 0.5927 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.5126, allocations: 1.594 kB / 0.5927 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5126, allocations: 0.6094 kB / 0.5927 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5126, allocations: 5.344 kB / 0.5927 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.513, allocations: 288.9 kB / 0.593 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.513, allocations: 0 / 0.593 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.5131, allocations: 21.92 kB / 0.593 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5132, allocations: 0 / 0.593 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.5132, allocations: 5.5 kB / 0.593 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5132, allocations: 0 / 0.593 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5132, allocations: 4 kB / 0.593 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.5141, allocations: 486.4 kB / 0.5935 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.5142, allocations: 104 kB / 0.5936 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.5143, allocations: 9.625 kB / 0.5936 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.5144, allocations: 14.84 kB / 0.5936 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.5145, allocations: 25.25 kB / 0.5936 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.5145, allocations: 8.906 kB / 0.5936 GB, free: 13.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002401/0.5148, allocations: 204.4 kB / 0.5938 GB, free: 13.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5148, allocations: 0 / 0.5938 GB, free: 13.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.5151, allocations: 60.22 kB / 0.5939 GB, free: 13.77 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 (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.0002431/0.5154, allocations: 133.7 kB / 0.594 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005768/0.516, allocations: 298.1 kB / 0.5943 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.516, allocations: 4.906 kB / 0.5943 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.5163, allocations: 186.2 kB / 0.5945 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.5166, allocations: 28.5 kB / 0.5945 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.5178, allocations: 0.5787 MB / 0.5951 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.5182, allocations: 0.7533 MB / 0.5958 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.5183, allocations: 17.5 kB / 0.5958 GB, free: 12.33 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5183, allocations: 1.5 kB / 0.5958 GB, free: 12.33 MB / 446.1 MB Notification: Performance of Templates: time 0.005839/0.5241, allocations: 2.957 MB / 0.5987 GB, free: 11.48 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++ -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