Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 102.7 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.001526/0.001526, allocations: 175.2 kB / 16.58 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.4 MB / 222.8 MB, free: 5.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.7 MB / 0.5505 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005445/0.0005445, allocations: 14.62 kB / 0.6744 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3609, allocations: 116.3 MB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004081/0.3651, allocations: 2.259 MB / 0.7901 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002797/0.368, allocations: 1.408 MB / 0.7915 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.3681, allocations: 4 kB / 0.7915 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.3684, allocations: 27.78 kB / 0.7915 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005/0.3689, allocations: 143.4 kB / 0.7917 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.3693, allocations: 115.5 kB / 0.7918 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.3697, allocations: 283.1 kB / 0.7921 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006959/0.3704, allocations: 294.5 kB / 0.7923 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.3705, allocations: 87.69 kB / 0.7924 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.3708, allocations: 103.6 kB / 0.7925 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.3709, allocations: 8 kB / 0.7925 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.3712, allocations: 123.8 kB / 0.7926 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.101e-05/0.3713, allocations: 59.81 kB / 0.7927 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.3713, allocations: 53.64 kB / 0.7928 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.3717, allocations: 243.6 kB / 0.793 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.3717, allocations: 0 / 0.793 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3717, allocations: 0 / 0.793 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.3718, allocations: 4 kB / 0.793 GB, free: 6.75 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008754/0.3726, allocations: 463.1 kB / 0.7934 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.3727, allocations: 8.031 kB / 0.7934 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.3733, allocations: 83.58 kB / 0.7935 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.3736, allocations: 230.7 kB / 0.7937 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3737, allocations: 12.33 kB / 0.7938 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.627e-05/0.3737, allocations: 16 kB / 0.7938 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.3743, allocations: 319.8 kB / 0.7941 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.3743, allocations: 4 kB / 0.7941 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.3744, allocations: 4 kB / 0.7941 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/0.3744, allocations: 24.27 kB / 0.7941 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.3748, allocations: 260.5 kB / 0.7944 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.3768, allocations: 1.638 MB / 0.796 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.3774, allocations: 415.2 kB / 0.7963 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.3776, allocations: 85.61 kB / 0.7964 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.3778, allocations: 85.09 kB / 0.7965 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.3778, allocations: 34.56 kB / 0.7965 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3778, allocations: 4 kB / 0.7965 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007244/0.3785, allocations: 300.7 kB / 0.7968 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.3786, allocations: 85.11 kB / 0.7969 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.3788, allocations: 175.3 kB / 0.7971 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3788, allocations: 25.7 kB / 0.7971 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.379, allocations: 151.7 kB / 0.7973 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.379, allocations: 55.33 kB / 0.7973 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.379, allocations: 4.188 kB / 0.7973 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3792, allocations: 326.8 kB / 0.7976 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.3793, allocations: 79.89 kB / 0.7977 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.3795, allocations: 153.3 kB / 0.7978 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.3797, allocations: 95.97 kB / 0.7979 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3797, allocations: 0 / 0.7979 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003914/0.3801, allocations: 277.2 kB / 0.7982 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.3803, allocations: 157.9 kB / 0.7983 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3803, allocations: 0 / 0.7983 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3803, allocations: 4 kB / 0.7984 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.3806, allocations: 59.89 kB / 0.7984 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.3806, allocations: 11.94 kB / 0.7984 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.3808, allocations: 23.83 kB / 0.7984 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.3808, allocations: 8 kB / 0.7985 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.3808, allocations: 4 kB / 0.7985 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003144/0.3811, allocations: 199.7 kB / 0.7986 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.3812, allocations: 4 kB / 0.7986 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.3812, allocations: 12.27 kB / 0.7987 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.3813, allocations: 59.83 kB / 0.7987 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.3814, allocations: 4 kB / 0.7987 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-05/0.3815, allocations: 15.98 kB / 0.7987 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.3815, allocations: 8 kB / 0.7987 GB, free: 376 kB / 0.6075 GB 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 (25): * Single equations (assignments): 25 * 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 0.0001777/0.3817, allocations: 221 kB / 0.799 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.3817, allocations: 15.81 kB / 0.799 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004175/0.3821, allocations: 204.2 kB / 0.7992 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3822, allocations: 4 kB / 0.7992 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3822, allocations: 192 / 0.7992 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3822, allocations: 3.984 kB / 0.7992 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.3835, allocations: 0.9651 MB / 0.8001 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3835, allocations: 448 / 0.8001 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.3836, allocations: 39.97 kB / 0.8002 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3837, allocations: 7.938 kB / 0.8002 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.3837, allocations: 8 kB / 0.8002 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.3837, allocations: 8 kB / 0.8002 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.3837, allocations: 4 kB / 0.8002 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.3842, allocations: 447.2 kB / 0.8006 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.3843, allocations: 112.9 kB / 0.8007 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3844, allocations: 7.984 kB / 0.8007 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.3846, allocations: 15.98 kB / 0.8007 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.3846, allocations: 23.88 kB / 0.8008 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3846, allocations: 8 kB / 0.8008 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001258/0.3848, allocations: 135.7 kB / 0.8009 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3848, allocations: 0 / 0.8009 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005175/0.3853, allocations: 72 kB / 0.801 GB, free: 13.89 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (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 Backend phase and start with SimCode phase: time 0.0001952/0.3855, allocations: 103.2 kB / 0.8011 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005286/0.386, allocations: 300.1 kB / 0.8014 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.386, allocations: 4 kB / 0.8014 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.3862, allocations: 79.81 kB / 0.8014 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.3867, allocations: 32.09 kB / 0.8015 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3877, allocations: 0.6052 MB / 0.8021 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.3882, allocations: 0.7402 MB / 0.8028 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.3883, allocations: 23.42 kB / 0.8028 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.3883, allocations: 0 / 0.8028 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.004556/0.3928, allocations: 2.335 MB / 0.8051 GB, free: 9.57 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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 OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1