Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009871/0.0009872, allocations: 92.94 kB / 16.33 MB, free: 5.953 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.00107/0.00107, allocations: 186.7 kB / 17.23 MB, free: 5.887 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.507/1.507, allocations: 223.2 MB / 241.2 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7907/0.7907, allocations: 114.3 MB / 406.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 12.5 kB / 494.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1936, allocations: 77.27 MB / 0.5583 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002322/0.196, allocations: 1.596 MB / 0.5599 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1973, allocations: 0.6628 MB / 0.5605 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1974, allocations: 0 / 0.5605 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.1977, allocations: 75.7 kB / 0.5606 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.1978, allocations: 75.75 kB / 0.5607 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.1984, allocations: 146.3 kB / 0.5608 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.1986, allocations: 215.4 kB / 0.561 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1988, allocations: 57.64 kB / 0.5611 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1989, allocations: 83.73 kB / 0.5611 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1991, allocations: 115.5 kB / 0.5613 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.1992, allocations: 8 kB / 0.5613 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1993, allocations: 67.94 kB / 0.5613 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.1994, allocations: 47.75 kB / 0.5614 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.1995, allocations: 65.58 kB / 0.5614 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1997, allocations: 211.8 kB / 0.5616 GB, free: 7.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1997, allocations: 0 / 0.5616 GB, free: 7.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1997, allocations: 0 / 0.5616 GB, free: 7.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1997, allocations: 0 / 0.5616 GB, free: 7.531 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.0009358/0.2007, allocations: 0.5546 MB / 0.5622 GB, free: 6.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2007, allocations: 12.02 kB / 0.5622 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.2008, allocations: 31.62 kB / 0.5622 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/0.2013, allocations: 297.6 kB / 0.5625 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.2014, allocations: 12 kB / 0.5625 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.2014, allocations: 23.83 kB / 0.5625 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.2018, allocations: 223.1 kB / 0.5628 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2018, allocations: 8 kB / 0.5628 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.2019, allocations: 4 kB / 0.5628 GB, free: 6.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2019, allocations: 4 kB / 0.5628 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.2022, allocations: 133 kB / 0.5629 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000903/0.2031, allocations: 0.6886 MB / 0.5636 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.2034, allocations: 186.5 kB / 0.5637 GB, free: 5.191 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.2036, allocations: 96.83 kB / 0.5638 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2036, allocations: 4 kB / 0.5638 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.204, allocations: 179.5 kB / 0.564 GB, free: 4.898 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.204, allocations: 0 / 0.564 GB, free: 4.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.000675/0.2047, allocations: 383 kB / 0.5644 GB, free: 4.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.2048, allocations: 132.5 kB / 0.5645 GB, free: 4.352 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.2052, allocations: 282.7 kB / 0.5648 GB, free: 4.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.2052, allocations: 25.7 kB / 0.5648 GB, free: 4.039 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2053, allocations: 160.2 kB / 0.565 GB, free: 3.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.2054, allocations: 43.39 kB / 0.565 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.2054, allocations: 4 kB / 0.565 GB, free: 3.828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.2056, allocations: 342.8 kB / 0.5653 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.2058, allocations: 84.14 kB / 0.5654 GB, free: 3.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.2061, allocations: 144 kB / 0.5655 GB, free: 3.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.2063, allocations: 115.9 kB / 0.5657 GB, free: 3.129 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2063, allocations: 0 / 0.5657 GB, free: 3.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004913/0.2068, allocations: 342.9 kB / 0.566 GB, free: 2.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.2069, allocations: 37.7 kB / 0.566 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2069, allocations: 0 / 0.566 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.2069, allocations: 11.89 kB / 0.566 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.207, allocations: 27.92 kB / 0.5661 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2071, allocations: 0 / 0.5661 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2072, allocations: 31.92 kB / 0.5661 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.2072, allocations: 11.98 kB / 0.5661 GB, free: 2.656 MB / 430.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.0001879/0.2074, allocations: 191.5 kB / 0.5663 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.2074, allocations: 23.72 kB / 0.5663 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.81e-05/0.2075, allocations: 29.83 kB / 0.5663 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2075, allocations: 7.953 kB / 0.5663 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2075, allocations: 3.984 kB / 0.5663 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2076, allocations: 4 kB / 0.5663 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.2078, allocations: 281.6 kB / 0.5666 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2078, allocations: 3.938 kB / 0.5666 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.2079, allocations: 19.98 kB / 0.5666 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.208, allocations: 0 / 0.5666 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.208, allocations: 8 kB / 0.5666 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.208, allocations: 3.984 kB / 0.5666 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.208, allocations: 3.953 kB / 0.5667 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.2088, allocations: 484 kB / 0.5671 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.209, allocations: 92.86 kB / 0.5672 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.2091, allocations: 15.98 kB / 0.5672 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.2092, allocations: 16.05 kB / 0.5672 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.2093, allocations: 27.95 kB / 0.5673 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.2093, allocations: 7.953 kB / 0.5673 GB, free: 1.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.2095, allocations: 205.9 kB / 0.5675 GB, free: 1.156 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2095, allocations: 0 / 0.5675 GB, free: 1.156 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.2098, allocations: 56.06 kB / 0.5675 GB, free: 1.102 MB / 430.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.0002169/0.21, allocations: 131.9 kB / 0.5676 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004703/0.2105, allocations: 299.2 kB / 0.5679 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2105, allocations: 3.938 kB / 0.5679 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.2108, allocations: 187.5 kB / 0.5681 GB, free: 472 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.2111, allocations: 36.53 kB / 0.5681 GB, free: 432 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.2122, allocations: 0.5477 MB / 0.5687 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.2127, allocations: 0.7519 MB / 0.5694 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.2127, allocations: 19.44 kB / 0.5694 GB, free: 15.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2128, allocations: 0 / 0.5694 GB, free: 15.04 MB / 446.1 MB Notification: Performance of Templates: time 0.005623/0.2184, allocations: 2.963 MB / 0.5723 GB, free: 12.09 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotorCalcHelperMain.o] Error 1