Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000883/0.0008831, allocations: 93.73 kB / 16.33 MB, free: 6.414 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.001/0.001001, allocations: 184.9 kB / 17.23 MB, free: 6.305 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.514/1.514, allocations: 223.2 MB / 241.2 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8106/0.8106, allocations: 114.3 MB / 406.7 MB, free: 8.246 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 8 kB / 494.5 MB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.4975, allocations: 77.25 MB / 0.5583 GB, free: 36.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002676/0.5002, allocations: 2.109 MB / 0.5604 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.5013, allocations: 0.7376 MB / 0.5611 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.973e-05/0.5014, allocations: 3.469 kB / 0.5611 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.5016, allocations: 26.95 kB / 0.5611 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.5018, allocations: 89.19 kB / 0.5612 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.5021, allocations: 85.12 kB / 0.5613 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.5024, allocations: 228.8 kB / 0.5615 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.5027, allocations: 176.8 kB / 0.5617 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.5028, allocations: 66.53 kB / 0.5617 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.5031, allocations: 86.84 kB / 0.5618 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.5031, allocations: 7.75 kB / 0.5618 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.5032, allocations: 54.47 kB / 0.5619 GB, free: 34.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.5033, allocations: 47.31 kB / 0.5619 GB, free: 34.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.5034, allocations: 50.14 kB / 0.562 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.5037, allocations: 169.5 kB / 0.5621 GB, free: 34.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.5037, allocations: 4 kB / 0.5621 GB, free: 34.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5037, allocations: 0.9688 kB / 0.5621 GB, free: 34.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.5037, allocations: 0 / 0.5621 GB, free: 34.49 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005514/0.5043, allocations: 418 kB / 0.5625 GB, free: 34.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5043, allocations: 13.42 kB / 0.5625 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/0.5047, allocations: 46.14 kB / 0.5626 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.5049, allocations: 214.5 kB / 0.5628 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.5049, allocations: 15.05 kB / 0.5628 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.505, allocations: 13.03 kB / 0.5628 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.5054, allocations: 217.9 kB / 0.563 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5054, allocations: 9.984 kB / 0.563 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.5054, allocations: 5.062 kB / 0.563 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/0.5054, allocations: 15.23 kB / 0.5631 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.5057, allocations: 148.2 kB / 0.5632 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009766/0.5067, allocations: 1.129 MB / 0.5643 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.85e-05/0.5068, allocations: 37.45 kB / 0.5643 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.5068, allocations: 17.02 kB / 0.5644 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.5068, allocations: 2.375 kB / 0.5644 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.5069, allocations: 37.88 kB / 0.5644 GB, free: 32.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.5069, allocations: 0 / 0.5644 GB, free: 32.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001912/0.5071, allocations: 74.05 kB / 0.5645 GB, free: 32.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.5071, allocations: 52.75 kB / 0.5645 GB, free: 32.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.5073, allocations: 175 kB / 0.5647 GB, free: 32.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.5073, allocations: 31.86 kB / 0.5647 GB, free: 32.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.881e-05/0.5074, allocations: 152 kB / 0.5649 GB, free: 32.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.5074, allocations: 11.39 kB / 0.5649 GB, free: 32.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.5074, allocations: 4.75 kB / 0.5649 GB, free: 32.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.5076, allocations: 326.8 kB / 0.5652 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.5076, allocations: 17.36 kB / 0.5652 GB, free: 31.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-05/0.5077, allocations: 91.2 kB / 0.5653 GB, free: 31.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.607e-05/0.5078, allocations: 34.95 kB / 0.5653 GB, free: 31.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5078, allocations: 1.062 kB / 0.5653 GB, free: 31.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002391/0.5081, allocations: 134.9 kB / 0.5654 GB, free: 31.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.69e-05/0.5082, allocations: 163 kB / 0.5656 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5082, allocations: 2.406 kB / 0.5656 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.5082, allocations: 5.609 kB / 0.5656 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.5083, allocations: 26.86 kB / 0.5656 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.5084, allocations: 3.047 kB / 0.5656 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.5084, allocations: 26.3 kB / 0.5657 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.5085, allocations: 7.125 kB / 0.5657 GB, free: 31.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.5085, allocations: 4.281 kB / 0.5657 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001576/0.5086, allocations: 103.1 kB / 0.5658 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5086, allocations: 3.859 kB / 0.5658 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.5087, allocations: 4.156 kB / 0.5658 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.5088, allocations: 25.5 kB / 0.5658 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5088, allocations: 4.844 kB / 0.5658 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.5088, allocations: 7.781 kB / 0.5658 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.5088, allocations: 11 kB / 0.5658 GB, free: 31.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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 9.931e-05/0.5089, allocations: 214.4 kB / 0.566 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.509, allocations: 13.02 kB / 0.566 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.509, allocations: 15.78 kB / 0.5661 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.509, allocations: 1.281 kB / 0.5661 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.509, allocations: 0.6094 kB / 0.5661 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.5091, allocations: 2.25 kB / 0.5661 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.5094, allocations: 471.4 kB / 0.5665 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5094, allocations: 2.188 kB / 0.5665 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.5095, allocations: 10.8 kB / 0.5665 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.5095, allocations: 5.688 kB / 0.5665 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.5095, allocations: 3.625 kB / 0.5665 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.5095, allocations: 1.094 kB / 0.5665 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5095, allocations: 1.75 kB / 0.5665 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.5096, allocations: 114.9 kB / 0.5666 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.5097, allocations: 91.06 kB / 0.5667 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.5097, allocations: 2.625 kB / 0.5667 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.5097, allocations: 1 kB / 0.5667 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.5098, allocations: 11.83 kB / 0.5667 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.5098, allocations: 1.969 kB / 0.5668 GB, free: 30.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.5099, allocations: 130.3 kB / 0.5669 GB, free: 30.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5099, allocations: 1.219 kB / 0.5669 GB, free: 30.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000336/0.5102, allocations: 51.31 kB / 0.5669 GB, free: 30.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.857e-05/0.5103, allocations: 100 kB / 0.567 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.5105, allocations: 113.6 kB / 0.5671 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5105, allocations: 0 / 0.5671 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-05/0.5106, allocations: 17.27 kB / 0.5671 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.5108, allocations: 17.3 kB / 0.5672 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.5113, allocations: 356 kB / 0.5675 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.5116, allocations: 0.7204 MB / 0.5682 GB, free: 29.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.5116, allocations: 15 kB / 0.5682 GB, free: 29.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5116, allocations: 0 / 0.5682 GB, free: 29.23 MB / 446.1 MB Notification: Performance of Templates: time 0.003337/0.5149, allocations: 1.439 MB / 0.5696 GB, free: 29.16 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1