Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009786/0.009785, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.00175/0.00175, allocations: 189.8 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.985/1.985, allocations: 292.3 MB / 0.5491 GB, free: 13.61 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.00149/0.001491, allocations: 64 kB / 0.6715 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3724, allocations: 114.6 MB / 0.7833 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.006691/0.3792, allocations: 3.123 MB / 0.7864 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003371/0.3827, allocations: 1.738 MB / 0.7881 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.3829, allocations: 4 kB / 0.7881 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.3843, allocations: 307 kB / 0.7884 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008219/0.3851, allocations: 195.3 kB / 0.7886 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007829/0.3859, allocations: 163.7 kB / 0.7887 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006525/0.3865, allocations: 470.7 kB / 0.7892 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006478/0.3872, allocations: 248.8 kB / 0.7894 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.3875, allocations: 119.6 kB / 0.7895 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004365/0.3879, allocations: 163.5 kB / 0.7897 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.388, allocations: 12 kB / 0.7897 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006902/0.3887, allocations: 291.4 kB / 0.79 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.3888, allocations: 95.77 kB / 0.7901 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.389, allocations: 119.4 kB / 0.7902 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.3896, allocations: 323.3 kB / 0.7905 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.3896, allocations: 4 kB / 0.7905 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3896, allocations: 4 kB / 0.7905 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.3897, allocations: 3.938 kB / 0.7905 GB, free: 6.594 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001576/0.3912, allocations: 0.5381 MB / 0.791 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/0.3913, allocations: 12.03 kB / 0.791 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000852/0.3922, allocations: 92.55 kB / 0.7911 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.3927, allocations: 250.9 kB / 0.7914 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.3927, allocations: 20.81 kB / 0.7914 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.3929, allocations: 28.45 kB / 0.7914 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.3936, allocations: 377.1 kB / 0.7918 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.3936, allocations: 0 / 0.7918 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.3937, allocations: 11.98 kB / 0.7918 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.3938, allocations: 28.41 kB / 0.7918 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005697/0.3944, allocations: 309.5 kB / 0.7921 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.3966, allocations: 1.529 MB / 0.7936 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.3971, allocations: 242.3 kB / 0.7938 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.3973, allocations: 120.8 kB / 0.7939 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.3974, allocations: 81.11 kB / 0.794 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.3975, allocations: 46.55 kB / 0.7941 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.644e-06/0.3975, allocations: 0 / 0.7941 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001505/0.399, allocations: 0.7857 MB / 0.7948 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.3991, allocations: 63.34 kB / 0.7949 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.3993, allocations: 191.1 kB / 0.7951 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3993, allocations: 33.7 kB / 0.7951 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3995, allocations: 155.9 kB / 0.7952 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.3996, allocations: 70.98 kB / 0.7953 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3997, allocations: 57.61 kB / 0.7954 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3999, allocations: 330.8 kB / 0.7957 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.4001, allocations: 115.9 kB / 0.7958 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.4003, allocations: 167.8 kB / 0.796 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.4007, allocations: 304.6 kB / 0.7962 GB, free: 272 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4007, allocations: 0 / 0.7962 GB, free: 272 kB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008418/0.4016, allocations: 412 kB / 0.7966 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.4016, allocations: 4 kB / 0.7966 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4016, allocations: 8.188 kB / 0.7966 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004808/0.4021, allocations: 96.75 kB / 0.7967 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.4024, allocations: 55.91 kB / 0.7968 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.4046, allocations: 1.726 MB / 0.7985 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.4049, allocations: 24.05 kB / 0.7985 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.4049, allocations: 15.98 kB / 0.7985 GB, free: 13.79 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.4051, allocations: 153.7 kB / 0.7987 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.4052, allocations: 19.8 kB / 0.7987 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005533/0.4058, allocations: 311.1 kB / 0.799 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4058, allocations: 0 / 0.799 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4058, allocations: 3.984 kB / 0.799 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4058, allocations: 0 / 0.799 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.4069, allocations: 0.7029 MB / 0.7997 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4069, allocations: 0 / 0.7997 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.4072, allocations: 59.89 kB / 0.7997 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4073, allocations: 0 / 0.7997 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.4073, allocations: 12.06 kB / 0.7997 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4073, allocations: 0 / 0.7997 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.4073, allocations: 3.938 kB / 0.7997 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.4081, allocations: 0.5127 MB / 0.8002 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.4082, allocations: 116.9 kB / 0.8004 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.4083, allocations: 7.984 kB / 0.8004 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.4085, allocations: 19.98 kB / 0.8004 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.4085, allocations: 15.92 kB / 0.8004 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.4086, allocations: 8 kB / 0.8004 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001658/0.4087, allocations: 144.6 kB / 0.8005 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4087, allocations: 0 / 0.8005 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004282/0.4092, allocations: 64 kB / 0.8006 GB, free: 11.54 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0002317/0.4094, allocations: 103.2 kB / 0.8007 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009589/0.4104, allocations: 430.4 kB / 0.8011 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.4104, allocations: 0 / 0.8011 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.4106, allocations: 123.8 kB / 0.8012 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.4111, allocations: 36.41 kB / 0.8013 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.4128, allocations: 0.7601 MB / 0.802 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.4134, allocations: 0.7829 MB / 0.8028 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.4136, allocations: 19.44 kB / 0.8028 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.4136, allocations: 0 / 0.8028 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of Templates: time 0.007867/0.4214, allocations: 3.595 MB / 0.8063 GB, free: 5.621 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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 OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1